implement export control

This commit is contained in:
Quentin Carbonneaux 2016-03-28 10:30:55 -04:00
parent 54d734f6a4
commit 1b4943eb1f
27 changed files with 65 additions and 22 deletions

View file

@ -1,5 +1,6 @@
# floating point casts and conversions
export
function s $fneg(s %f) {
@fneg
%b0 =w cast %f
@ -8,6 +9,7 @@ function s $fneg(s %f) {
ret %rs
}
export
function d $ftrunc(d %f) {
@ftrunc
%l0 =l ftosi %f