OSDN Git Service

Fix ssat and ssat16 encodings for ARM and Thumb. The bit position value
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 31 May 2011 03:33:27 +0000 (03:33 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 31 May 2011 03:33:27 +0000 (03:33 +0000)
commit895c1e2deea3e6118b159c26b3f86d40a37e8501
tree22636b5fe01b1eeca9b3fc03f3f0bc09b7d49373
parent4e694c96f1c0c2d09a287ff69bab5896e04dd3fd
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMMCCodeEmitter.cpp
test/MC/ARM/arm_instructions.s
test/MC/ARM/thumb2.s
utils/TableGen/EDEmitter.cpp