GP-0 minor fixes for build

This commit is contained in:
ghidra1
2022-07-26 13:56:39 -04:00
parent 7293efbb9f
commit 6614ea5c2e
2 changed files with 5 additions and 3 deletions

View File

@@ -800,14 +800,16 @@ DXuPos: pos is lsb [ pos = lsb + 32; ] { tmp:1
DinsXSize: mysize is msbd & lsb [ mysize = msbd - lsb + 1 + 32; ] { tmp:1 = mysize; export tmp; }
@endif
@ifdef ISA_VARIANT
macro JXWritePC(addr) {
@ifdef ISA_VARIANT
ISAModeSwitch = (addr & 0x1) != 0;
tmp:$(REGSIZE) = -2;
tmp = tmp & addr;
pc = tmp;
}
@else
pc=addr;
@endif
}
# Floating point formats
#fmt: "S" is format=0x10 { }