Re: [Qemu-devel] [PATCH] test-i386: Make x86 test program compile on clang

2017-07-14 Thread Theodore Dubois
ping http://patchwork.ozlabs.org/patch/786393/ ~Theodore > On Jul 10, 2017, at 1:57 PM, Theodore Dubois wrote: > > Clang's assembler is slightly incompatible with GCC's assembler, which > caused the program to not compile on Clang for these reasons: > > - The &quo

Re: [Qemu-devel] [PATCH] test-i386: Make x86 test program compile on clang

2017-07-10 Thread Theodore Dubois
I don’t believe so, I haven’t been able to find it in the bug database. ~Theodore > On Jul 10, 2017, at 2:48 PM, Paolo Bonzini wrote: > > On 10/07/2017 22:57, Theodore Dubois wrote: >> - Clang doesn't support size suffixes on the loop instructions. > > Has this bug been reported? > > Paolo >

[Qemu-devel] [PATCH] test-i386: Make x86 test program compile on clang

2017-07-10 Thread Theodore Dubois
ess. - The arguments to the bound instruction are in the wrong order on Clang. https://bugs.llvm.org/show_bug.cgi?id=27653 Signed-off-by: Theodore Dubois --- tests/tcg/test-i386.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/tests/tcg/test-i386.c b/tes

[Qemu-devel] glue(glue(ld, USUFFIX), _p)

2017-06-25 Thread Theodore Dubois
In include/exec/cpu_ldst_useronly_template.h, there’s references to glue(glue(ld, USUFFIX), _p), which would expand to a call to a function looking something like uint32_t lduw_p(void *) (for example). Where is this function defined? ~Theodore

[Qemu-devel] TLB addend field

2017-06-21 Thread Theodore Dubois
Hi, I’ve got a question about the addend field in the TLB. Why use this instead of a pointer to the host page? I would think the speed difference would be unmeasurable. ~Theodore