summaryrefslogtreecommitdiff
path: root/libswscale/x86
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-08-12 02:18:41 +0100
committerMans Rullgard <mans@mansr.com>2012-08-13 14:51:52 +0100
commit8ec0204ee4ee93218c51a86d2faa24937c8108e7 (patch)
tree661130cb96734266a4f46057d86075172c601109 /libswscale/x86
parentc8252e80eb1d0d0964e94b3186bfdb776fee99d6 (diff)
x86: cabac: allow building with suncc
This fixes two issues preventing suncc from building this code. The undocumented 'a' operand modifier, causing gcc to omit a $ in front of immediate operands (as required in addresses), is not supported by suncc. Luckily, the also undocumented 'c' modifer has the same effect and is supported. On some asm statements with a large number of operands, suncc for no obvious reason fails to correctly substitute some of the operands. Fortunately, some of the operands in these statements are plain numbers which can be inserted directly into the code block instead of passed as operands. With these changes, the code builds correctly with both gcc and suncc. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libswscale/x86')
0 files changed, 0 insertions, 0 deletions