diff options
author | Kai Nacke <kai.nacke@redstar.de> | 2015-01-27 19:11:28 +0000 |
---|---|---|
committer | Kai Nacke <kai.nacke@redstar.de> | 2015-01-27 19:11:28 +0000 |
commit | e024539ea0ff3db0c11827e3a0585ea46910ecbc (patch) | |
tree | 8d7c2df4069902f4527858af2f953c2d9f5cfd89 /llvm/unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp | |
parent | 19d08672844ee7558910d9880555b111fc3c90b3 (diff) | |
download | bcm5719-llvm-e024539ea0ff3db0c11827e3a0585ea46910ecbc.tar.gz bcm5719-llvm-e024539ea0ff3db0c11827e3a0585ea46910ecbc.zip |
[mips] Add range checks and transformation to octeon instructions in AsmParser.
This patch adds range checks to the immediate operands of octeon
instructions in the AsmParser. Like gas, it applies the following
transformations if the immediate is to large:
bbit0 $8, 42, foo => bbit032 $8, 10, foo
bbit1 $8, 46, foo => bbit132 $8, 14, foo
cins $8, $31, 32, 31 => cins32 $8, $31, 0, 31
exts $7, $4, 54, 9 => exts32 $7, $4, 22, 9
Reviewed By: dsanders
Differential Revision: http://reviews.llvm.org/D7080
llvm-svn: 227225
Diffstat (limited to 'llvm/unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions