|
@@ -314,6 +314,13 @@ unit cgcpu;
|
|
|
end;
|
|
|
|
|
|
begin
|
|
|
+ { Release PIC register }
|
|
|
+ if (cs_create_pic in current_settings.moduleswitches) and
|
|
|
+ (tf_pic_uses_got in target_info.flags) and
|
|
|
+ (pi_needs_got in current_procinfo.flags) and
|
|
|
+ not(target_info.system in systems_darwin) then
|
|
|
+ list.concat(tai_regalloc.dealloc(NR_PIC_OFFSET_REG,nil));
|
|
|
+
|
|
|
{ MMX needs to call EMMS }
|
|
|
if assigned(rg[R_MMXREGISTER]) and
|
|
|
(rg[R_MMXREGISTER].uses_registers) then
|