Red Hat Bugzilla – Bug 58447
as doesn't handle SSE registers the way gcc uses them
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
Compiling SSE optimizable code with -msse fails: gcc uses "%xmm8" and
similar registers to address SSE registers, binutils doesn't handle them. Not 100% sure whether this is gcc's or as's fault.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try compiling the attached preprocessor output with -msse
/tmp/ccmnce33.s:264: Error: bad register name `%xmm8' [...]
Created attachment 42636 [details]
bzip2'ed preprocessor output
Just checked the spec, xmm8 is a x86-64 register, so it probably shouldn't be
used by -msse, making it a gcc bug.
Fixed in gcc-3.1-0.19.