diff options
author | Tom Stellard <[email protected]> | 2012-05-09 11:06:48 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-10 15:41:31 -0400 |
commit | fa63f976522bd4faf19249e8c9ac4d3edda498d9 (patch) | |
tree | aa4faf0c0741d902fb7844fff879a9d5f37696b9 /src/gallium/drivers/radeon/SIInstrFormats.td | |
parent | 92faa21d29b49689ccfff852cfff257fccec514e (diff) |
radeon/llvm: Add some comments
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstrFormats.td')
-rw-r--r-- | src/gallium/drivers/radeon/SIInstrFormats.td | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/SIInstrFormats.td b/src/gallium/drivers/radeon/SIInstrFormats.td index caf9b0ef120..de0d4fa39d2 100644 --- a/src/gallium/drivers/radeon/SIInstrFormats.td +++ b/src/gallium/drivers/radeon/SIInstrFormats.td @@ -1,4 +1,4 @@ -//===-- SIInstrFormats.td - TODO: Add brief description -------===// +//===-- SIInstrFormats.td - SI Instruction Formats ------------------------===// // // The LLVM Compiler Infrastructure // @@ -7,7 +7,17 @@ // //===----------------------------------------------------------------------===// // -// TODO: Add full description +// SI Instruction format definitions. +// +// Instructions with _32 take 32-bit operands. +// Instructions with _64 take 64-bit operands. +// +// VOP_* instructions can use either a 32-bit or 64-bit encoding. The 32-bit +// encoding is the standard encoding, but instruction that make use of +// any of the instruction modifiers must use the 64-bit encoding. +// +// Instructions with _e32 use the 32-bit encoding. +// Instructions with _e64 use the 64-bit encoding. // //===----------------------------------------------------------------------===// |