Commit 69af9c35 authored by Moritz Kroll's avatar Moritz Kroll
Browse files

irio: Added support for Quot and Mod nodes

[r25521]
parent 71ac39d7
......@@ -166,6 +166,21 @@ Rotl = dict(
is_a = "binop"
),
Quot = dict(
ins = [ "mem", "dividend", "divisor" ],
outs = [ "M", "X_regular", "X_except", "res" ],
attrs = [
dict(
type = "ir_mode*",
name = "resmode"
),
dict(
name = "state",
type = "op_pin_state"
)
]
),
Div = dict(
ins = [ "mem", "dividend", "divisor" ],
outs = [ "M", "X_regular", "X_except", "res" ],
......@@ -196,6 +211,21 @@ DivMod = dict(
]
),
Mod = dict(
ins = [ "mem", "dividend", "divisor" ],
outs = [ "M", "X_regular", "X_except", "res" ],
attrs = [
dict(
type = "ir_mode*",
name = "resmode"
),
dict(
name = "state",
type = "op_pin_state"
)
]
),
Load = dict(
ins = [ "mem", "ptr" ],
outs = [ "M", "X_regular", "X_except", "res" ],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment