Do not call from temporary vaiable

This commit is contained in:
Olof Astrand
2020-08-03 20:30:18 +02:00
parent 993caed1c2
commit 47eea0d9f7
2 changed files with 8 additions and 8 deletions

View File

@@ -303,7 +303,7 @@ macro extract_bit(val, bit, result) {
# CALL0 - Non-windowed Call, pg. 297. # CALL0 - Non-windowed Call, pg. 297.
:call0 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0 & op0 = 0b0101 { :call0 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0 & op0 = 0b0101 {
local dst = srel_6.23_sb2; #local dst = srel_6.23_sb2;
i2 = a2; i2 = a2;
i3 = a3; i3 = a3;
i4 = a4; i4 = a4;
@@ -311,7 +311,7 @@ macro extract_bit(val, bit, result) {
i6 = a6; i6 = a6;
i7 = a7; i7 = a7;
a0 = inst_start + 3; a0 = inst_start + 3;
call [dst]; call srel_6.23_sb2;
} }
# CALLX0 - Non-windowed Call Register, pg. 304. # CALLX0 - Non-windowed Call Register, pg. 304.

View File

@@ -32,19 +32,19 @@ macro restore() {
# CALL4 - Call PC-relative, Rotate Window by 4, pg. 298. # CALL4 - Call PC-relative, Rotate Window by 4, pg. 298.
:call4 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0b01 & op0 = 0b0101 { :call4 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0b01 & op0 = 0b0101 {
local dst = srel_6.23_sb2; #local dst = srel_6.23_sb2;
i2=a6; i2=a6;
i3=a7; i3=a7;
i4=a8; i4=a8;
i5=a9; i5=a9;
a0 = inst_start + 3; a0 = inst_start + 3;
call [dst]; call srel_6.23_sb2;
a6=o2; a6=o2;
} }
# CALL8 - Call PC-relative, Rotate Window by 8, pg. 300. # CALL8 - Call PC-relative, Rotate Window by 8, pg. 300.
:call8 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0b10 & op0 = 0b0101 { :call8 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0b10 & op0 = 0b0101 {
local dst = srel_6.23_sb2; #local dst:4 =
i2=a10; i2=a10;
i3=a11; i3=a11;
i4=a12; i4=a12;
@@ -52,17 +52,17 @@ macro restore() {
i6=a14; i6=a14;
i7=a15; i7=a15;
a0 = inst_start + 3; a0 = inst_start + 3;
call [dst]; call srel_6.23_sb2;
a10=o2; a10=o2;
} }
# CALL12 - Call PC-relative, Rotate Window by 12, pg. 302. # CALL12 - Call PC-relative, Rotate Window by 12, pg. 302.
:call12 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0b11 & op0 = 0b0101 { :call12 srel_6.23_sb2 is srel_6.23_sb2 & u2_4.5 = 0b11 & op0 = 0b0101 {
local dst = srel_6.23_sb2; #local dst = srel_6.23_sb2;
i2=a14; i2=a14;
i3=a15; i3=a15;
a0 = inst_start + 3; a0 = inst_start + 3;
call [dst]; call srel_6.23_sb2;
a14=o2; a14=o2;
} }