Displaying 1 result from an estimated 1 matches for "add_x_x_r".
Did you mean:
add_r_x_r
2005 Aug 10
1
[LLVMdev] Relative addressing
...r each variant (like X86InstrInfo.td) there will
be eight opcodes for each binary operation, and 16 opcodes for each
trinary operation!
{ relative, not-relative } * { relative, not-relative } * {
relative, not-relative } = 8
That is, opcodes:
ADD_x_x_x
ADD_r_x_x
ADD_x_r_x
ADD_x_x_r
ADD_x_r_r
ADD_r_x_r
ADD_r_r_x
ADD_r_r_r
(x: not relative addressing, r: relative addressing)
Alternatively, the code selector could be designed to generate 'mov'
instruction with relative addressing only. The above 'add' instruction
is translated to:
mov...