search for: xsmaddmdp

Displaying 4 results from an estimated 4 matches for "xsmaddmdp".

Did you mean: xsmaddadp
2016 Mar 16
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...readable and not efficient yet, but it shows interesting results: In fma.ll @test_FMSUB2 (return dummy(A * B + C, A * B - D)): before: fmr 0, 1 xsmaddadp 3, 0, 2 xsmsubmdp 0, 2, 4 fmr 1, 3 fmr 2, 0 bl dummy2 after: xsmsubadp 4, 1, 2 xsmaddmdp 1, 2, 3 fmr 2, 4 bl dummy2 In fma-assoc.ll all 9 copies are eliminated, for example (A * B + C * D + E): before: xsmaddmdp 3, 4, 5 xsmaddadp 3, 1, 2 fmr 1, 3 after: xsmaddadp 5, 3, 4 xsmaddmdp 1, 2, 5 In fma-ext.ll, the only copy is also el...
2016 Mar 23
0
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...ts: > > In fma.ll @test_FMSUB2 (return dummy(A * B + C, A * B - D)): > before: > fmr 0, 1 > xsmaddadp 3, 0, 2 > xsmsubmdp 0, 2, 4 > fmr 1, 3 > fmr 2, 0 > bl dummy2 > > after: > xsmsubadp 4, 1, 2 > xsmaddmdp 1, 2, 3 > fmr 2, 4 > bl dummy2 > > In fma-assoc.ll all 9 copies are eliminated, for example (A * B + C * D + > E): > before: > xsmaddmdp 3, 4, 5 > xsmaddadp 3, 1, 2 > fmr 1, 3 > > after: > xsmaddadp 5, 3, 4 >...
2016 Mar 05
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
I wonder if we can do this in a separate analysis MachineFunction SSA pass. 1) SelectionDAG will generate a pseudo instruction MutatingFMA. When it's generated it's allowed to have d = a * b + c form, where d doesn't have to be in {a, b, c}. 2) Later, the proposed pass uses an algorithm to decide for instruction MI: `%vreg0 = MutatingFMA %vreg1, %vreg2, %vreg3`, it should tie %vreg0
2020 Aug 25
3
[TableGen] What to do if there are overlapping instruction patterns?
I've been working on adding support for a (semi-proprietary) extension for PowerPC called "Paired-Singles". It's a SIMD instruction set supporting various operations on a vector of 2 32-bit floating point numbers. The Extension is found in the PowerPC 750CL, modified variants of it are used in the Nintendo GameCube (Gekko), the Nintendo Wii (Broadway) and the Nintendo Wii U