commit e198fe6c40f745a3a94a52debe187a6a5c2d3ba5
parent 76c0d34858aa418f8fa814805cbfdcaa79cdbf2f
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Sat, 28 Nov 2015 00:35:04 -0500
make sign explicit in conversion names
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git 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.