Displaying 1 result from an estimated 1 matches for "index_reg".
Did you mean:
index_read
2013 May 31
0
[LLVMdev] Instrudtion operand definition question
...atus bits written. The result can also be %null meaning that the result is only written to the accumulator. Defining all the possible operand formats in separate instruction definitions would result in a huge number of instructions.
The addressing modes are defined like this:
offset[%base_reg, %index_reg]
One, two or all three can be defined and the offset can be a relocatable symbol or a signed int.
Memory operands need not be introduced until just before register allocation (maybe they couldn't be?).
Any suggestions on how to attack this problem would be greatly appreciated.
-Steve