GhidraRPXLoader/data/languages/ppc_gekko_broadway.cspec
2023-11-01 18:39:00 +01:00

118 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<compiler_spec>
<global>
<range space="ram"/>
</global>
<stackpointer register="r1" space="ram"/>
<default_proto>
<prototype name="__stdcall" extrapop="0" stackshift="0">
<input pointermax="8">
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f1"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f2"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f3"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f4"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f5"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f6"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f7"/>
</pentry>
<pentry minsize="4" maxsize="8" metatype="float" extension="float">
<register name="f8"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r3"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r4"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r5"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r6"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r7"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r8"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r9"/>
</pentry>
<pentry minsize="1" maxsize="4">
<register name="r10"/>
</pentry>
<pentry minsize="1" maxsize="500" align="4">
<addr offset="8" space="stack"/>
</pentry>
</input>
<output>
<pentry minsize="1" maxsize="8" metatype="float" extension="float">
<register name="f1"/>
</pentry>
<pentry minsize="1" maxsize="4" extension="inttype">
<register name="r3"/>
</pentry>
<pentry minsize="5" maxsize="8">
<addr space="join" piece1="r3" piece2="r4"/>
</pentry>
</output>
<unaffected>
<register name="r2"/>
<register name="r13"/>
<register name="r14"/>
<register name="r15"/>
<register name="r16"/>
<register name="r17"/>
<register name="r18"/>
<register name="r19"/>
<register name="r20"/>
<register name="r21"/>
<register name="r22"/>
<register name="r23"/>
<register name="r24"/>
<register name="r25"/>
<register name="r26"/>
<register name="r27"/>
<register name="r28"/>
<register name="r29"/>
<register name="r30"/>
<register name="r31"/>
<register name="r1"/>
<register name="cr4"/>
<register name="GQR0"/>
<register name="GQR1"/>
<register name="GQR2"/>
<register name="GQR3"/>
<register name="GQR4"/>
<register name="GQR5"/>
<register name="GQR6"/>
<register name="GQR7"/>
</unaffected>
</prototype>
</default_proto>
<callfixup name="get_pc_thunk_lr">
<pcode>
<body><![CDATA[
LR = inst_dest + 4;
]]></body>
</pcode>
</callfixup>
</compiler_spec>