|
@@ -1236,7 +1236,7 @@ begin
|
|
|
begin
|
|
|
if reg in (rg[R_FPUREGISTER].used_in_proc-paramanager.get_volatile_registers_fpu(pocall_stdcall)) then
|
|
|
begin
|
|
|
- fmask:=fmask or (1 shl ord(reg));
|
|
|
+ fmask:=fmask or (longword(1) shl ord(reg));
|
|
|
href.offset:=nextoffset;
|
|
|
lastfpuoffset:=nextoffset;
|
|
|
helplist.concat(taicpu.op_reg_ref(A_SWC1,newreg(R_FPUREGISTER,reg,R_SUBFS),href));
|
|
@@ -1266,7 +1266,7 @@ begin
|
|
|
begin
|
|
|
if reg in saveregs then
|
|
|
begin
|
|
|
- mask:=mask or (1 shl ord(reg));
|
|
|
+ mask:=mask or (longword(1) shl ord(reg));
|
|
|
href.offset:=nextoffset;
|
|
|
lastintoffset:=nextoffset;
|
|
|
if (reg=RS_FRAME_POINTER_REG) then
|
|
@@ -1282,8 +1282,8 @@ begin
|
|
|
//list.concat(Taicpu.Op_reg_reg_const(A_ADDIU,NR_FRAME_POINTER_REG,NR_STACK_POINTER_REG,current_procinfo.para_stack_size));
|
|
|
list.concat(Taicpu.op_none(A_P_SET_NOMIPS16));
|
|
|
list.concat(Taicpu.op_reg_const_reg(A_P_FRAME,current_procinfo.framepointer,LocalSize,NR_R31));
|
|
|
- list.concat(Taicpu.op_const_const(A_P_MASK,mask,-(LocalSize-lastintoffset)));
|
|
|
- list.concat(Taicpu.op_const_const(A_P_FMASK,Fmask,-(LocalSize-lastfpuoffset)));
|
|
|
+ list.concat(Taicpu.op_const_const(A_P_MASK,aint(mask),-(LocalSize-lastintoffset)));
|
|
|
+ list.concat(Taicpu.op_const_const(A_P_FMASK,aint(Fmask),-(LocalSize-lastfpuoffset)));
|
|
|
list.concat(Taicpu.op_none(A_P_SET_NOREORDER));
|
|
|
if (cs_create_pic in current_settings.moduleswitches) and
|
|
|
(pi_needs_got in current_procinfo.flags) then
|