Closed basavesh closed 11 months ago
AFAIK, this is https://github.com/qemu/qemu/commit/75b208c28316095c4685e8596ceb9e3f656592e2
I will backport this accordingly.
Sounds good to me.
@wtdcode Shall I close this PR as you will be back porting directly? or do you want me to update this PR to match the changes from qemu/qemu@75b208c
You could definitely do this (highly welcome!). But please note when you do backport please preserve all origin messages. I did one recently you may refer to: https://github.com/unicorn-engine/unicorn/commit/a7a5d187e77f7853755eff4768658daf8095c3b7
I couldn't get the title correct with the hyperlink. I have made the necessary changes with respect to code and the text.
It looks okay but you target the wrong branch. PR always goes to dev.
Closing this as I created an another PR #1861 for dev branch
target/i386: fix operand order for PDEP and PEXT
For PDEP and PEXT, the mask is provided in the memory (mod+r/m) operand, and therefore is loaded in s->T0 by gen_ldst_modrm. The source is provided in the second source operand (VEX.vvvv) and therefore is loaded in s->T1. Fix the order in which they are passed to the helpers.