Bug 58447 - as doesn't handle SSE registers the way gcc uses them
Summary: as doesn't handle SSE registers the way gcc uses them
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-16 22:28 UTC by Bernhard Rosenkraenzer
Modified: 2008-05-01 15:38 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2002-01-18 17:55:41 UTC


Attachments (Terms of Use)
bzip2'ed preprocessor output (15.01 KB, application/octet-stream)
2002-01-16 22:30 UTC, Bernhard Rosenkraenzer
no flags Details

Description Bernhard Rosenkraenzer 2002-01-16 22:28:21 UTC
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):
2.11.92.0.12-8

How Reproducible:
100%

Steps to Reproduce:
1. Try compiling the attached preprocessor output with -msse



Actual Results:
/tmp/ccmnce33.s:264: Error: bad register name `%xmm8' [...]

Expected Results:


Additional Information:

Comment 1 Bernhard Rosenkraenzer 2002-01-16 22:30:39 UTC
Created attachment 42636 [details]
bzip2'ed preprocessor output

Comment 2 Bernhard Rosenkraenzer 2002-01-18 16:51:33 UTC
Just checked the spec, xmm8 is a x86-64 register, so it probably shouldn't be
used by -msse, making it a gcc bug.

Comment 3 Jakub Jelinek 2002-01-18 17:55:34 UTC
Yeah, http://gcc.gnu.org/ml/gcc-patches/2002-01/msg01300.html

Comment 4 Jakub Jelinek 2002-02-01 16:23:48 UTC
Fixed in gcc-3.1-0.19.


Note You need to log in before you can comment on or make changes to this bug.