mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
Add tests for floating point remainder elimination
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e122e1148
commit
6a7cd2206b
@ -15,3 +15,12 @@ int "test2"() {
|
||||
ret int %R
|
||||
}
|
||||
|
||||
float "test3"() {
|
||||
%R = rem float 12.45, 123.213
|
||||
ret float %R
|
||||
}
|
||||
|
||||
double "test4"() {
|
||||
%R = rem double 312.20213123, 12.3333412
|
||||
ret double %R
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user