[PATCH] D120592: [X86] Fix handling of Address-Size override prefix

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 28 19:09:49 PST 2022


Amir added inline comments.


================
Comment at: llvm/test/MC/X86/align-branch-hardcode.s:20
   # CHECK: 5d:       int3
-  # CHECK: 5e:       call
+  # CHECK: 5e:       addr32 call
   # CHECK: 66:       int3
----------------
Amir wrote:
> skan wrote:
> > Why do we got addr32 here w/ hardcode 0x66?
> Looking into it
@skan 
The call has 0x67 prefix regardless of `.byte 0x66`, perhaps due to using ecx register as a memop.
With this diff we start printing the `addr32` prefix that wasn't printed before.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120592/new/

https://reviews.llvm.org/D120592



More information about the llvm-commits mailing list