[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/18638] Wrong code generated for VMOVQ and VGATHER... on x86 CPU
From: |
m at rolle dot name |
Subject: |
[Bug gas/18638] Wrong code generated for VMOVQ and VGATHER... on x86 CPU |
Date: |
Tue, 21 Jul 2015 05:42:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18638
--- Comment #4 from Michael Rolle <m at rolle dot name> ---
In the first case, I got the correct results when I assembled the .s file. The
file was gas/i386/x86-64-avx-scalar.s in the gas/testsuite directory. objdump
of the resulting .o file show the correct bytes.
Earlier, I was looking at a directory of .o files that I made a while back,
running the testsuite and saving the .o files. I don't recall how I generated
these. However, looking at the regression file gas/i386/x86-64-avx-scalar.d,
this file has the lines:
[ ]*[a-f0-9]+: c4 e1 fd 7e e1 vmovq %xmm4,%rcx
[ ]*[a-f0-9]+: c4 e1 fd 6e e1 vmovq %rcx,%xmm4
[ ]*[a-f0-9]+: c4 e1 fd 7e e1 vmovq %xmm4,%rcx
[ ]*[a-f0-9]+: c4 e1 fd 6e e1 vmovq %rcx,%xmm4
I must have gotten some older version of the testsuite that runs an older
version of gas, which you can see does have the bug I reported. If it helps
you figure out which version it is, the dates on the files are all dated 2 July
2014, and I am using Cygwin as the platform.
When I run as directly, the version is:
GNU assembler version 2.24.51 (x86_64-pc-cygwin) using BFD version (GNU
Binutils) 2.24.51.20140703
If you have the time, maybe you could figure out how come the testsuite that I
have is wrong and correct the problem.
--
You are receiving this mail because:
You are on the CC list for the bug.