[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/5109] New: Extra REX byte generated in Intel mode
From: |
hjl at lucon dot org |
Subject: |
[Bug gas/5109] New: Extra REX byte generated in Intel mode |
Date: |
4 Oct 2007 18:24:14 -0000 |
address@hidden simd]$ cat x.s
.intel_syntax noprefix
comisd xmm1,QWORD PTR [rip+0x12345678]
cvtdq2pd xmm1,QWORD PTR [rip+0x12345678]
cvtps2pd xmm1,QWORD PTR [rip+0x12345678]
movhpd QWORD PTR [rip+0x12345678],xmm1
movhpd xmm1,QWORD PTR [rip+0x12345678]
movhps QWORD PTR [rip+0x12345678],xmm1
movhps xmm1,QWORD PTR [rip+0x12345678]
movlpd QWORD PTR [rip+0x12345678],xmm1
movlpd xmm1,QWORD PTR [rip+0x12345678]
movlps QWORD PTR [rip+0x12345678],xmm1
movlps xmm1,QWORD PTR [rip+0x12345678]
ucomisd xmm1,QWORD PTR [rip+0x12345678]
cmpeqsd xmm0,QWORD PTR [rax]
cvtpi2pd xmm0,QWORD PTR [rax]
cvtpi2ps xmm0,QWORD PTR [rax]
cvtps2pi mm0,QWORD PTR [rax]
cvtsd2ss xmm0,QWORD PTR [rax]
divsd xmm0,QWORD PTR [rax]
maxsd xmm0,QWORD PTR [rax]
movntsd QWORD PTR [rax],xmm0
movsd xmm0,QWORD PTR [rax]
movsd QWORD PTR [rax],xmm0
mulsd xmm0,QWORD PTR [rax]
sqrtsd xmm0,QWORD PTR [rax]
subsd xmm0,QWORD PTR [rax]
address@hidden simd]$ gcc -c x.s
address@hidden simd]$ objdump -dw x.o | sed -e "s/[ \t]*#.*$//"
x.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: 66 48 0f 2f 0d 78 56 34 12 rex.W comisd 0x12345678(%rip),%xmm1
9: f3 48 0f e6 0d 78 56 34 12 rex.W cvtdq2pd 0x12345678(%rip),%xmm1
12: 48 0f 5a 0d 78 56 34 12 rex.W cvtps2pd 0x12345678(%rip),%xmm1
1a: 66 48 0f 17 0d 78 56 34 12 rex.W movhpd %xmm1,0x12345678(%rip)
23: 66 48 0f 16 0d 78 56 34 12 rex.W movhpd 0x12345678(%rip),%xmm1
2c: 48 0f 17 0d 78 56 34 12 rex.W movhps %xmm1,0x12345678(%rip)
34: 48 0f 16 0d 78 56 34 12 rex.W movhps 0x12345678(%rip),%xmm1
3c: 66 48 0f 13 0d 78 56 34 12 rex.W movlpd %xmm1,0x12345678(%rip)
45: 66 48 0f 12 0d 78 56 34 12 rex.W movlpd 0x12345678(%rip),%xmm1
4e: 48 0f 13 0d 78 56 34 12 rex.W movlps %xmm1,0x12345678(%rip)
56: 48 0f 12 0d 78 56 34 12 rex.W movlps 0x12345678(%rip),%xmm1
5e: 66 48 0f 2e 0d 78 56 34 12 rex.W ucomisd 0x12345678(%rip),%xmm1
67: f2 48 0f c2 00 00 rex.W cmpeqsd (%rax),%xmm0
6d: 66 48 0f 2a 00 rex.W cvtpi2pd (%rax),%xmm0
72: 48 0f 2a 00 rex.W cvtpi2ps (%rax),%xmm0
76: 48 0f 2d 00 rex.W cvtps2pi (%rax),%mm0
7a: f2 48 0f 5a 00 rex.W cvtsd2ss (%rax),%xmm0
7f: f2 48 0f 5e 00 rex.W divsd (%rax),%xmm0
84: f2 48 0f 5f 00 rex.W maxsd (%rax),%xmm0
89: f2 48 0f 2b 00 rex.W movntsd %xmm0,(%rax)
8e: f2 48 0f 10 00 rex.W movsd (%rax),%xmm0
93: f2 48 0f 11 00 rex.W movsd %xmm0,(%rax)
98: f2 48 0f 59 00 rex.W mulsd (%rax),%xmm0
9d: f2 48 0f 51 00 rex.W sqrtsd (%rax),%xmm0
a2: f2 48 0f 5c 00 rex.W subsd (%rax),%xmm0
address@hidden simd]$
--
Summary: Extra REX byte generated in Intel mode
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=5109
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/5109] New: Extra REX byte generated in Intel mode,
hjl at lucon dot org <=