Skip to content
Snippets Groups Projects
Commit 03dc422c authored by Andrew Miranti's avatar Andrew Miranti
Browse files

Update for K/KItem disambiguation

parent 342cd7b2
Branches integration
No related tags found
No related merge requests found
......@@ -1322,7 +1322,7 @@ module DECODER
syntax String ::= PrintHexWithWidth(Int, Int) [function]
syntax K ::= ExtendToWidth(Int, Int, Int) [function]// Initial, Width, Sign (1=Extend with F, 0 = Extend with 0)
syntax KItem ::= ExtendToWidth(Int, Int, Int) [function]// Initial, Width, Sign (1=Extend with F, 0 = Extend with 0)
rule PrintHexWithWidth(V, W) => "-" +String PrintHexWithWidth(0 -Int V, W) requires V <Int 0
rule PrintHexWithWidth(V, _) => "0x" +String Base2String(V, 16) requires V >=Int 0
......@@ -1746,7 +1746,7 @@ module DECODER
<REG7> R </REG7>
requires VIS =/=K SUPPRESSED
syntax K ::= MakeRELBR(K, K) [strict]
syntax K ::= MakeRELBR(KItem, KItem) [strict]
rule AppendOperand(MakeRELBR(W:Int, V:String) => mi(64, String2Base(V, 16)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment