diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-07-08 14:49:37 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-07-08 14:49:37 +0000 |
commit | c0944b50fe93f69a7170e66349c323ebea2e1939 (patch) | |
tree | b56ac53c4bd05e6bc5a7bafc9a7827a98d1be906 /lldb/scripts/Python | |
parent | c9b82d76e27e4b76dc703670c167c4e5f3071250 (diff) | |
download | llvm-c0944b50fe93f69a7170e66349c323ebea2e1939.zip llvm-c0944b50fe93f69a7170e66349c323ebea2e1939.tar.gz llvm-c0944b50fe93f69a7170e66349c323ebea2e1939.tar.bz2 |
[PowerPC] Support basic compare mnemonics
This adds support for the basic mnemoics (with the L operand) for the
fixed-point compare instructions. These are defined as aliases for the
already existing CMPW/CMPD patterns, depending on the value of L.
This requires use of InstAlias patterns with immediate literal operands.
To make this work, we need two further changes:
- define a RegisterPrefix, because otherwise literals 0 and 1 would
be parsed as literal register names
- provide a PPCAsmParser::validateTargetOperandClass routine to
recognize immediate literals (like ARM does)
llvm-svn: 185826
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions