diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-05-31 03:33:27 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-05-31 03:33:27 +0000 |
| commit | 394f516d16b3e21f29200638ca7fe1abb53e1d6d (patch) | |
| tree | 9106bf4db4362717870a1ea2e585a76ed410290b /llvm/lib/Target/ARM/ARMCodeEmitter.cpp | |
| parent | 98fc4c8bbcf9330a55d0cfc297cecc617a7be7c4 (diff) | |
| download | bcm5719-llvm-394f516d16b3e21f29200638ca7fe1abb53e1d6d.tar.gz bcm5719-llvm-394f516d16b3e21f29200638ca7fe1abb53e1d6d.zip | |
Fix ssat and ssat16 encodings for ARM and Thumb. The bit position value
must be encoded decremented by one. Only add encoding tests for ssat16
because ssat can't be parsed yet.
llvm-svn: 132324
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCodeEmitter.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMCodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp index 8397e3bf1d7..16d4ca599a0 100644 --- a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp @@ -232,6 +232,8 @@ namespace { unsigned Op) const { return 0; } unsigned getMsbOpValue(const MachineInstr &MI, unsigned Op) const { return 0; } + unsigned getSsatBitPosValue(const MachineInstr &MI, + unsigned Op) const { return 0; } uint32_t getLdStmModeOpValue(const MachineInstr &MI, unsigned OpIdx) const {return 0; } uint32_t getLdStSORegOpValue(const MachineInstr &MI, unsigned OpIdx) |

