This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR gas/5080: Error: Incorrect register `eax' used with `q' suffix
- From: "Jan Beulich" <jbeulich at novell dot com>
- To: "H.J. Lu" <hjl at lucon dot org>
- Cc: <binutils at sourceware dot org>
- Date: Mon, 08 Oct 2007 13:14:14 +0100
- Subject: Re: PATCH: PR gas/5080: Error: Incorrect register `eax' used with `q' suffix
- References: <20070930212500.GA5403@lucon.org>
While not directly related to this patch, the 'q' suffixes here
>--- binutils/gas/testsuite/gas/i386/x86-64-simd.d.cvt 2007-07-29 12:43:52.000000000 -0700
>+++ binutils/gas/testsuite/gas/i386/x86-64-simd.d 2007-09-30 14:17:39.000000000 -0700
>@@ -47,10 +47,14 @@ Disassembly of section .text:
> [ ]*[a-f0-9]+: 0f 2d 00 cvtps2pi \(%rax\),%mm0
> [ ]*[a-f0-9]+: f2 0f 2d 00 cvtsd2si \(%rax\),%eax
> [ ]*[a-f0-9]+: f2 48 0f 2d 00 cvtsd2siq \(%rax\),%rax
>+[ ]*[a-f0-9]+: f2 0f 2c 00 cvttsd2si \(%rax\),%eax
>+[ ]*[a-f0-9]+: f2 48 0f 2c 00 cvttsd2siq \(%rax\),%rax
> [ ]*[a-f0-9]+: f2 0f 5a 00 cvtsd2ss \(%rax\),%xmm0
> [ ]*[a-f0-9]+: f3 0f 5a 00 cvtss2sd \(%rax\),%xmm0
>-[ ]*[a-f0-9]+: f3 48 0f 2d 00 cvtss2siq \(%rax\),%rax
> [ ]*[a-f0-9]+: f3 0f 2d 00 cvtss2si \(%rax\),%eax
>+[ ]*[a-f0-9]+: f3 48 0f 2d 00 cvtss2siq \(%rax\),%rax
>+[ ]*[a-f0-9]+: f3 0f 2c 00 cvttss2si \(%rax\),%eax
>+[ ]*[a-f0-9]+: f3 48 0f 2c 00 cvttss2siq \(%rax\),%rax
> [ ]*[a-f0-9]+: f2 0f 5e 00 divsd \(%rax\),%xmm0
> [ ]*[a-f0-9]+: f3 0f 5e 00 divss \(%rax\),%xmm0
> [ ]*[a-f0-9]+: f2 0f 5f 00 maxsd \(%rax\),%xmm0
>@@ -88,6 +92,10 @@ Disassembly of section .text:
> [ ]*[a-f0-9]+: 66 0f 3a 21 00 00 insertps \$0x0,\(%rax\),%xmm0
> [ ]*[a-f0-9]+: f3 0f 2d 00 cvtss2si \(%rax\),%eax
> [ ]*[a-f0-9]+: f3 48 0f 2d 00 cvtss2siq \(%rax\),%rax
>+[ ]*[a-f0-9]+: f3 0f 2c 00 cvttss2si \(%rax\),%eax
>+[ ]*[a-f0-9]+: f3 48 0f 2c 00 cvttss2siq \(%rax\),%rax
> [ ]*[a-f0-9]+: f2 0f 2d 00 cvtsd2si \(%rax\),%eax
> [ ]*[a-f0-9]+: f2 48 0f 2d 00 cvtsd2siq \(%rax\),%rax
>+[ ]*[a-f0-9]+: f2 0f 2c 00 cvttsd2si \(%rax\),%eax
>+[ ]*[a-f0-9]+: f2 48 0f 2c 00 cvttsd2siq \(%rax\),%rax
> #pass
aren't consistent I believe - they should only be displayed with -Msuffix.
Jan