Re: [Qemu-devel] qemu-x86_64: Error processing bextr

2017-07-11 Thread Ricardo Ribalda Delgado
Hi Richard Thanks for the fast response! I have added support for the tbm bextr instruction and now I am getting SIGSEGV on another part of the program, seems like the stack is smashed at some point :(. My guess is that it is another instruction that is not properly handled. Are you aware of

Re: [Qemu-devel] qemu-x86_64: Error processing bextr

2017-07-10 Thread Richard Henderson
On 07/10/2017 01:17 PM, Ricardo Ribalda Delgado wrote: 0x0040008179bf <+31>: 8f ea 78 10 d0 08 04 00 00 bextr $0x408,%eax,%edx ... It seems that, bextr is not supported by the emulator/cpu, althoug I have launched the emualtor with -cpu Haswell, that should support bmi1

[Qemu-devel] qemu-x86_64: Error processing bextr

2017-07-10 Thread Ricardo Ribalda Delgado
Hi I have the following assembly snipset (from get_common_indeces in glibc compiled with gcc 6.3 -march=bdver4) 0x0040008179b3 <+19>: 89 15 8b c3 20 00 mov %edx,0x20c38b(%rip)# 0x4000a23d44 <_rtld_local_ro+132> 0x0040008179b9 <+25>: 89 1d 7d c3 20 00 mov