@@ -1014,7 +1014,7 @@ instruction set architecture AArch64Base = {
10141014
10151015 model BranchEncAsm (i: InstrNoFunct): IsaDefs = {
10161016 encoding $i.id = { op = $i.opcode }
1017- assembly $i.id = ( $i.mnemo, ' ', sdec(imm26 ))
1017+ assembly $i.id = ( $i.mnemo, ' ', sdec(offset ))
10181018 }
10191019
10201020 model BranchInstr (i: InstrNoFunct): IsaDefs = {
@@ -1068,7 +1068,7 @@ instruction set architecture AArch64Base = {
10681068 if $c.ex then
10691069 PC := PC + offset
10701070 encoding $i.id = { op = $i.opcode, cc = CondCode::$c.cc }
1071- assembly $i.id = ($i.mnemo, $c.mext, ' ', sdec(imm19 ))
1071+ assembly $i.id = ($i.mnemo, $c.mext, ' ', sdec(offset ))
10721072 }
10731073
10741074 model ExtendCondInstr (modelid: InstrWithCond, i: InstrWithFunct, c: Cond): IsaDefs = {
@@ -1107,7 +1107,7 @@ instruction set architecture AArch64Base = {
11071107 if VADL::$i.funct ($WXReg(rt; $size), 0) then
11081108 PC := PC + offset
11091109 encoding $i.id = { op = $i.opcode, sf = SF::$size }
1110- assembly $i.id = ($i.mnemo, ' ', $size(rt), ', ', sdec(imm19 ))
1110+ assembly $i.id = ($i.mnemo, ' ', $size(rt), ', ', sdec(offset ))
11111111 }
11121112
11131113 format TestBitBranchFormat: Instr = // test bit and branch immediate format
@@ -1123,7 +1123,7 @@ instruction set architecture AArch64Base = {
11231123 if VADL::$i.funct ((X(rt) >> imm6) as Bits1, 0) then
11241124 PC := PC + offset
11251125 encoding $i.id = { op = $i.opcode }
1126- assembly $i.id = ( $i.mnemo, ' ', XSize(rt), ', #', udec(imm6), ', ', sdec(imm14 ))
1126+ assembly $i.id = ( $i.mnemo, ' ', XSize(rt), ', #', udec(imm6), ', ', sdec(offset ))
11271127 }
11281128
11291129// load / store register models ************************************************
0 commit comments