diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-08 13:39:17 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-08 13:39:30 -0500 |
commit | 1dc00896840c9823c15089f379776f88a75e9663 (patch) | |
tree | 14ce7f106c517aa664471a3e9b4391e68413d901 /lisc/FP | |
parent | 0791dd026e3c7e5c49282fe264a075dbcecb0607 (diff) | |
download | roux-1dc00896840c9823c15089f379776f88a75e9663.tar.gz |
wip on instruction selection
Diffstat (limited to 'lisc/FP')
-rw-r--r-- | lisc/FP | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/FP b/lisc/FP index f448015..3559a00 100644 --- a/lisc/FP +++ b/lisc/FP @@ -8,12 +8,12 @@ Non FP: udiv, srem, urem, store(4), load(7), -1 bit for s,d 16384 New conversion instructions: - - Bitcast conversion between fp and ints. cast + - Bitcast conversion between fp and ints. bcast - Convert fp to/from int. ftosi sitof (only signed at first, truncation) - Convert single to/from double fconv Summary: - Add cast, ftosi sitof, fconv + Add bcast, ftosi sitof, fconv Add a 'floating point' bit to instructions Conversions from/to unsigned types are hard! I need to find a reference for that. |