X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=cpu%2For1kcommon.cpu;h=9f102c93a18ad3f03595ab8ef7bbe5bf550ba198;hb=ae440402f54c634baddc462f8561442befe2cafe;hp=65154407df91858993d926b4672a43e0e5b798ce;hpb=7e05773767820b441b23a16628b55c98cb1aef46;p=thirdparty%2Fbinutils-gdb.git diff --git a/cpu/or1kcommon.cpu b/cpu/or1kcommon.cpu index 65154407df9..9f102c93a18 100644 --- a/cpu/or1kcommon.cpu +++ b/cpu/or1kcommon.cpu @@ -114,20 +114,6 @@ (set (index newval) (set UWI (reg h-gpr index) (zext UWI (subword SI newval 0)))) ) -; -; Hardware: virtual registerts for FPU (double precision) -; mapped to GPRs -; -(define-hardware - (name h-fdr) - (comment "or64 floating point registers (double, virtual)") - (attrs VIRTUAL (MACH ORFPX64-MACHS)) - (type register DF (32)) - (indices keyword "" REG-INDICES) - (get (index) (subword DF (trunc DI (reg h-gpr index)) 0)) - (set (index newval) (set UDI (reg h-gpr index) (zext UDI (subword DI newval 0)))) - ) - ; ; Register pairs are offset by 2 for registers r16 and above. This is to ; be able to allow registers to be call saved in GCC across function calls.