mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Revert 98683. It is breaking something in the disassembler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -520,11 +520,23 @@ namespace ARM_AM {
|
||||
//
|
||||
// This is used for NEON load / store instructions.
|
||||
//
|
||||
// addrmode6 := reg with optional alignment
|
||||
// addrmode6 := reg with optional writeback and alignment
|
||||
//
|
||||
// This is stored in two operands [regaddr, align]. The first is the
|
||||
// address register. The second operand is the value of the alignment
|
||||
// specifier to use or zero if no explicit alignment.
|
||||
// This is stored in four operands [regaddr, regupdate, opc, align]. The
|
||||
// first is the address register. The second register holds the value of
|
||||
// a post-access increment for writeback or reg0 if no writeback or if the
|
||||
// writeback increment is the size of the memory access. The third
|
||||
// operand encodes whether there is writeback to the address register. The
|
||||
// fourth operand is the value of the alignment specifier to use or zero if
|
||||
// no explicit alignment.
|
||||
|
||||
static inline unsigned getAM6Opc(bool WB = false) {
|
||||
return (int)WB;
|
||||
}
|
||||
|
||||
static inline bool getAM6WBFlag(unsigned Mode) {
|
||||
return Mode & 1;
|
||||
}
|
||||
|
||||
} // end namespace ARM_AM
|
||||
} // end namespace llvm
|
||||
|
||||
Reference in New Issue
Block a user