llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Exploit LCDFR/LPDFR/LNDFR instructions

Open uweigand opened this issue 11 years ago • 4 comments

Bugzilla Link 23419
Resolution FIXED
Resolved on Nov 07, 2018 00:22
Version trunk
OS Linux
CC @JonPsson

Extended Description

System z currently uses the IEEE-specific forms of LOAD COMPLEMENT, LOAD NEGATIVE and LOAD POSITIVE. However, in cases where we don't need the resulting condition codes, we can instead use the generic forms of those instructions (e.g. LCDFR instead of LCDBR).

To do so, we should always start by emitting the generic form, and if it turns out we can actually use the condition code, we can convert back to the IEEE-specific forms during the SystemZElimCompare pass by listing them in SystemZInstrInfo::getLoadAndTest.

uweigand avatar May 05 '15 19:05 uweigand

Fixed.

uweigand avatar Oct 02 '15 13:10 uweigand

commited as r249046

JonPsson avatar Oct 01 '15 20:10 JonPsson

Have added general instructions for fp64 and fp32, and updated test cases. New test case. not yet commited.

JonPsson avatar Sep 24 '15 13:09 JonPsson

assigned to @JonPsson

uweigand avatar May 05 '15 19:05 uweigand