qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 1c96401f0cf3f7b77488e306705c2ea946149b36
parent 5053577e0e9776ef4854c384fc8dd145be29bb07
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Thu, 21 Apr 2016 14:27:15 -0400

oops fix wrong instruction names in doc

Diffstat:
Mdoc/il.txt | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/il.txt b/doc/il.txt @@ -553,9 +553,9 @@ towards zero. * `loadd` -- `d(m)` * `loads` -- `s(m)` * `loadl` -- `l(m)` - * `loadsw`, `loadzw` -- `I(mm)` - * `loadsh`, `loadzh` -- `I(mm)` - * `loadsb`, `loadzb` -- `I(mm)` + * `loadsw`, `loaduw` -- `I(mm)` + * `loadsh`, `loaduh` -- `I(mm)` + * `loadsb`, `loadub` -- `I(mm)` For types smaller than long, two variants of the load instruction is available: one will sign extend the value @@ -563,7 +563,7 @@ towards zero. all loads smaller than long can load to either a long or a word. - The two instructions `loadsw` and `loadzw` have the same + The two instructions `loadsw` and `loaduw` have the same effect when they are used to define a word temporary. A `loadw` instruction is provided as syntactic sugar for `loadsw` to make explicit that the extension mechanism @@ -656,9 +656,9 @@ the value of the source type. Conversions can extend the precision of a temporary (e.g. from signed 8 bits to 32 bits), or convert a floating point into an integer and vice versa. - * `extsw`, `extzw` -- `l(w)` - * `extsh`, `extzh` -- `I(ww)` - * `extsb`, `extzb` -- `I(ww)` + * `extsw`, `extuw` -- `l(w)` + * `extsh`, `extuh` -- `I(ww)` + * `extsb`, `extub` -- `I(ww)` * `exts` -- `d(s)` * `truncd` -- `s(d)` * `ftosi` -- `I(F)`