PATCH: PR gas/5080: Error: Incorrect register `eax' used with `q' suffix
H.J. Lu
hjl@lucon.org
Mon Oct 8 15:30:00 GMT 2007
On Mon, Oct 08, 2007 at 01:14:14PM +0100, Jan Beulich wrote:
> 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.
>
I will fix them.
Thanks.
H.J.
More information about the Binutils
mailing list