mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,12 +7,12 @@ target pointersize = 32
|
||||
|
||||
declare float %fabsf(float)
|
||||
|
||||
float %fabsftest(float %X) {
|
||||
float %test1(float %X) {
|
||||
%Y = call float %fabsf(float %X)
|
||||
ret float %Y
|
||||
}
|
||||
|
||||
double %fabstest2(double %X) {
|
||||
double %test2(double %X) {
|
||||
%Y = setge double %X, -0.0
|
||||
%Z = sub double -0.0, %X
|
||||
%Q = select bool %Y, double %X, double %Z
|
||||
|
Reference in New Issue
Block a user