nixify
This commit is contained in:
16
test/isel5.ssa
Normal file
16
test/isel5.ssa
Normal file
@@ -0,0 +1,16 @@
|
||||
# make sure the local symbols used for
|
||||
# fp constants do not get a _ prefix
|
||||
# on apple arm hardware
|
||||
|
||||
export function w $main() {
|
||||
@start
|
||||
%r =d copy d_1.2
|
||||
%x =w call $printf(l $fmt, ..., d %r)
|
||||
ret 0
|
||||
}
|
||||
|
||||
data $fmt = { b "%.06f\n", b 0 }
|
||||
|
||||
# >>> output
|
||||
# 1.200000
|
||||
# <<<
|
||||
Reference in New Issue
Block a user