diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-02-19 07:29:07 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-02-19 07:29:07 +0000 |
commit | 52fb0a59d023d8e779a31c263bc06b4371b30882 (patch) | |
tree | 5421e8eebdc50a831684771adc77de81169630b6 /lib/Target/X86/MCTargetDesc | |
parent | 75116bc27e9ab0780a4f0579c020247c6c7fe46d (diff) | |
download | llvm-52fb0a59d023d8e779a31c263bc06b4371b30882.tar.gz llvm-52fb0a59d023d8e779a31c263bc06b4371b30882.tar.bz2 llvm-52fb0a59d023d8e779a31c263bc06b4371b30882.tar.xz |
Reduce size of map field in X86 TSFlags since it now requires less bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/MCTargetDesc')
-rw-r--r-- | lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86BaseInfo.h b/lib/Target/X86/MCTargetDesc/X86BaseInfo.h index d50c47d350..9b0fcbcb9c 100644 --- a/lib/Target/X86/MCTargetDesc/X86BaseInfo.h +++ b/lib/Target/X86/MCTargetDesc/X86BaseInfo.h @@ -350,7 +350,7 @@ namespace X86II { // belongs to. i.e. one-byte, two-byte, 0x0f 0x38, 0x0f 0x3a, etc. // OpMapShift = OpPrefixShift + 3, - OpMapMask = 0x1f << OpMapShift, + OpMapMask = 0xf << OpMapShift, // OB - OneByte - Set if this instruction has a one byte opcode. OB = 0 << OpMapShift, @@ -384,7 +384,7 @@ namespace X86II { // etc. We only cares about REX.W and REX.R bits and only the former is // statically determined. // - REXShift = OpMapShift + 5, + REXShift = OpMapShift + 4, REX_W = 1 << REXShift, //===------------------------------------------------------------------===// |