Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-17 Thread Axel Zeuner
Hi, On Saturday 17 March 2007 10:51, Johannes Schindelin wrote: > Hi, > > On Sat, 17 Mar 2007, axel wrote: > > Why there exist two different blocks for COFF and ELF for x86/x86_64 > > hosts? > > Because COFF is used by Windows, and ELF by Linux, and they are > substantially different? > Sorry, I d

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-17 Thread Johannes Schindelin
Hi, On Sat, 17 Mar 2007, axel wrote: > Why there exist two different blocks for COFF and ELF for x86/x86_64 > hosts? Because COFF is used by Windows, and ELF by Linux, and they are substantially different? > @@ -1458,6 +1458,8 @@ > error("empty code for %s", name); > if

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread axel
On Friday 16 March 2007 20:30, Igor Kovalenko wrote: > On 3/16/07, Julian Seward <[EMAIL PROTECTED]> wrote: > > I'm seeing redundant repz (0xF3) prefixes in generated code, typically > > just before jumps: > > > > : repz mov $0xe07f,%eax > > : mov%eax,0x20(%rbp) > > : lea-25168302(%rip),

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread Julian Seward
> ifeq ($(ARCH),x86_64) > +OP_CFLAGS+= -mtune=nocona -W -Wall -O4 > BASE_LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(ARCH).ld > endif That works. Thanks. J ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread Igor Kovalenko
On 3/16/07, Julian Seward <[EMAIL PROTECTED]> wrote: I'm seeing redundant repz (0xF3) prefixes in generated code, typically just before jumps: : repz mov $0xe07f,%eax : mov%eax,0x20(%rbp) : lea-25168302(%rip),%ebx # 0xaf0420 : retq : mov-25168245(%rip),%eax # 0xaf0460 : jm

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread Paul Brook
> > 8b50 : > > 8b50: 8b 05 00 00 00 00 mov0(%rip),%eax > > 8b52: R_X86_64_PC32 __op_param1+0x3c > > 8b56: ff e0 jmpq *%rax > > 8b58: f3 c3 repz retq > > > > qemu only strips the fin

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread Julian Seward
On Friday 16 March 2007 14:28, Paul Brook wrote: > On Friday 16 March 2007 14:15, Julian Seward wrote: > > I'm seeing redundant repz (0xF3) prefixes in generated code, typically > > just before jumps: > > > > : repz mov $0xe07f,%eax > > : mov%eax,0x20(%rbp) > > : lea-25168302(%rip),%ebx

Re: [Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread Paul Brook
On Friday 16 March 2007 14:15, Julian Seward wrote: > I'm seeing redundant repz (0xF3) prefixes in generated code, typically > just before jumps: > > : repz mov $0xe07f,%eax > : mov%eax,0x20(%rbp) > : lea-25168302(%rip),%ebx # 0xaf0420 > : retq > : mov-25168245(%rip),%eax # 0xaf

[Qemu-devel] Redundant repz prefixes in generated amd64 code

2007-03-16 Thread Julian Seward
I'm seeing redundant repz (0xF3) prefixes in generated code, typically just before jumps: : repz mov $0xe07f,%eax : mov%eax,0x20(%rbp) : lea-25168302(%rip),%ebx # 0xaf0420 : retq : mov-25168245(%rip),%eax # 0xaf0460 : jmpq *%rax : repz mov $0xe092,%eax : mov%eax,0x20