Home My Page Projects Code Snippets Project Openings SML/NJ
 Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

# SCM Repository

[smlnj] Diff of /llvm-codegen/asdl/cfg.asdl
 [smlnj] / llvm-codegen / asdl / cfg.asdl

# Diff of /llvm-codegen/asdl/cfg.asdl

revision 7116, Tue May 11 19:31:29 2021 UTC revision 7117, Tue May 11 19:46:05 2021 UTC
# Line 82  Line 82
82    -- These operations might raise exceptions and do not access mutable memory.    -- These operations might raise exceptions and do not access mutable memory.
83      arith      arith
84        = ARITH (arithop oper, int sz)        = ARITH (arithop oper, int sz)
85        | REAL_TO_INT (rounding_mode mode, int from, int to)        | FLOAT_TO_INT (rounding_mode mode, int from, int to)
86
87    -- arithmetic operations that do not overflow; for the division operators,    -- arithmetic operations that do not overflow; for the division operators,
88    -- we assume that the second argument is never zero (i.e., an explicit    -- we assume that the second argument is never zero (i.e., an explicit
# Line 107  Line 107
107                                                  -- false) or the sign (signed is true)                                                  -- false) or the sign (signed is true)
108        | TRUNC (int from, int to)                -- truncate a larger value to a smaller        | TRUNC (int from, int to)                -- truncate a larger value to a smaller
109                                                  -- one (from > to).                                                  -- one (from > to).
110        | INT_TO_REAL (int from, int to)          -- int to float conversion        | INT_TO_FLOAT (int from, int to)         -- int to float conversion
111          | FLOAT_TO_BITS (int sz)                  -- bitcast a float to the same-sized word
112          | BITS_TO_FLOAT (int sz)                  -- bitcast a word to the same-sized float
113        | PURE_SUBSCRIPT                          -- indexed load of ML value        | PURE_SUBSCRIPT                          -- indexed load of ML value
114        | PURE_RAW_SUBSCRIPT (numkind kind, int sz)        | PURE_RAW_SUBSCRIPT (numkind kind, int sz)
115                                                  -- indexed load of raw value from                                                  -- indexed load of raw value from

Legend:
 Removed from v.7116 changed lines Added in v.7117