mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Port more encoding tests to decoding tests, and correct an improper Thumb2 pre-indexed load decoding this uncovered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1189,6 +1189,8 @@ class T2Ipreldst<bit signed, bits<2> opcod, bit load, bit pre,
|
||||
let Inst{9} = addr{8}; // Sign bit
|
||||
let Inst{8} = 1; // The W bit.
|
||||
let Inst{7-0} = addr{7-0};
|
||||
|
||||
let DecoderMethod = "DecodeT2LdStPre";
|
||||
}
|
||||
|
||||
// T2Ipostldst - Thumb2 post-indexed load / store instructions.
|
||||
@@ -1221,6 +1223,8 @@ class T2Ipostldst<bit signed, bits<2> opcod, bit load, bit pre,
|
||||
let Inst{9} = offset{8}; // Sign bit
|
||||
let Inst{8} = 1; // The W bit.
|
||||
let Inst{7-0} = offset{7-0};
|
||||
|
||||
let DecoderMethod = "DecodeT2LdStPre";
|
||||
}
|
||||
|
||||
// Tv5Pat - Same as Pat<>, but requires V5T Thumb mode.
|
||||
|
Reference in New Issue
Block a user