[all-commits] [llvm/llvm-project] 8f6512: [X86][Disassembler] Fix displacement operand size ...

maksfb via All-commits all-commits at lists.llvm.org
Mon Jun 13 00:15:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f6512fea000c3a0d394864bb94e524bee375069
      https://github.com/llvm/llvm-project/commit/8f6512fea000c3a0d394864bb94e524bee375069
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
    M llvm/unittests/MC/X86/X86MCDisassemblerTest.cpp

  Log Message:
  -----------
  [X86][Disassembler] Fix displacement operand size for symbolizer

On 64-bit X86, 0x66 operand-size override prefix will change the size of
the instruction operand, e.g. from 32 bits to 16 bits, but it will not
modify the size of the displacement operand used for memory addressing,
which will always be 32 bits.

Reviewed By: skan, rafauler

Differential Revision: https://reviews.llvm.org/D126726




More information about the All-commits mailing list