mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Added the llvm.readport and llvm.writeport intrinsics for x86. These do
I/O port instructions on x86. The specific code sequence is tailored to the parameters and return value of the intrinsic call. Added the ability for implicit defintions to be printed in the Instruction Printer. Added the ability for RawFrm instruction to print implict uses and defintions with correct comma output. This required adjustment to some methods so that a leading comma would or would not be printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -121,7 +121,7 @@ namespace X86II {
|
||||
Mem128 = 6 << MemShift,
|
||||
|
||||
//===------------------------------------------------------------------===//
|
||||
// This tow-bit field describes the size of an immediate operand. Zero is
|
||||
// This two-bit field describes the size of an immediate operand. Zero is
|
||||
// unused so that we can tell if we forgot to set a value.
|
||||
ImmShift = 13,
|
||||
ImmMask = 7 << ImmShift,
|
||||
@@ -169,9 +169,13 @@ namespace X86II {
|
||||
// before the normal operands.
|
||||
PrintImplUsesBefore = 1 << 19,
|
||||
|
||||
OpcodeShift = 20,
|
||||
// PrintImplDefsAfter - Print out implicit defs in the assembly output
|
||||
// after the normal operands.
|
||||
PrintImplDefsAfter = 1 << 20,
|
||||
|
||||
OpcodeShift = 21,
|
||||
OpcodeMask = 0xFF << OpcodeShift,
|
||||
// Bits 25 -> 31 are unused
|
||||
// Bits 26 -> 31 are unused
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user