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

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 28 20:23:06 PST 2022


skan added inline comments.


================
Comment at: llvm/test/MC/X86/code16-32-64.s:18-20
+# CHECK-NEXT: 67 8b 00                      addr32 movl    (%eax), %eax
 # CHECK-NEXT: 8b 00                         movl    (%rax), %eax
+# CHECK-NEXT: 67 66 8b 00                   addr32 movw    (%eax), %ax
----------------
addr32 should not be printed here b/c 0x67 is not a redundant prefix here. You can check the behaviour of GNU objdump.


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