search for: v_interp_p2_f32

Displaying 2 results from an estimated 2 matches for "v_interp_p2_f32".

2013 Jun 25
0
[LLVMdev] tablegen question
...you specify in a tablegen pattern that all destination registers are also source registers? I know I could just duplicate them, but I was wondering if there was a way it could be done without doing this. Basically an inplace operation. > I'm not sure if there is a good way to do this. The V_INTERP_P2_F32 instruction for SI has operands that are both inputs and outputs, but we model this by duplicating the operands adding a constraint. You may be able to define an instruction with duplicate operands and then lower it to one without duplicates using a custom inserter, but I'm not sure if that is...
2013 Jun 25
2
[LLVMdev] tablegen question
How do you specify in a tablegen pattern that all destination registers are also source registers? I know I could just duplicate them, but I was wondering if there was a way it could be done without doing this. Basically an inplace operation. So for example, take a hypothetical swap w/ sqrt. if I had swap $ds0, $ds1 which swaps ds1 and ds0 and applies sqrt on the registers afterwards. Micah