diff options
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/fpintro.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisc/fpintro.txt b/lisc/fpintro.txt index b889136..1491da5 100644 --- a/lisc/fpintro.txt +++ b/lisc/fpintro.txt @@ -9,9 +9,11 @@ Non FP: sdiv, udiv, srem, urem, store(4), New conversion instructions: - Bitcast conversion between fp and ints. cast - - Convert fp to/from int. convf convi (only signed at first, truncation) - - Convert single to/from double convs convd + - Convert fp to/from int. ftosi sitof (only signed at first, truncation) + - Convert single to/from double stod dtos Summary: - Add bitcast, convf convi, convs convd + Add cast, ftosi sitof, stod dtos Add a 'floating point' bit to instructions + Conversions from/to unsigned types are hard! + I need to find a reference for that. |