This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Put i386 insn prefixes on the same line as the insn
On 8/20/07, Andrew Pinski <pinskia@gmail.com> wrote:
> > This has caused some regressions on i386-darwin8.10:
>
> One more quick note, almost all of the libgomp testsuite now fails
> because of this patch.
> So I a bit upset as I was trying to test a patch to fix PR 30564 (a
> regression) and I ran into many more regressions.
But 20061005-1.c works without problems on i686-pc-linux-gnu using
GNU assembler version 2.17 (i686-pc-linux-gnu) using BFD version 2.17
where:
tests:
pushl %ebp
lock addw $-1, s
popl %ebp
ret
as 20061005-1.s | objdump -d
00000030 <tests>:
30: 55 push %ebp
31: f0 66 83 05 00 00 00 lock addw $0xffffffff,0x0
38: 00 ff
3a: 5d pop %ebp
3b: c3 ret
3c: 8d 74 26 00 lea 0x0(%esi),%esi
Is this a bug in your assembler?
Uros.