tcg-hppa: Finish the port.
PATCH 3/4 tcg-hppa: Finish the port.
Delete inline functions from tcg-target.h that don't need to be there, move the others to tcg-target.c. Add 'Z', 'I', 'J' constraints for 0, signed 11-bit, and signed 5-bit respectively. Add 'c' constraint for RET1 register. Add GUEST_BASE support similar to ppc64, with the value stored in a register. Add missing registers to reg_alloc_order. Add support for 12-bit branch relocations. Add functions for synthetic
operations: addi, mtctl, dep, shd, vshd, ori, andi, shifts, rotates, multiply, millicode calls, branches, setcond. Split out TLB reads from qemu_ld and qemu_st; fix argument loading for tlb external calls. Generate the prologue.
--- configure | 5 +- tcg/hppa/tcg-target.c | 1846 +++++++++++++++++++++++++++++++++++-------------- tcg/hppa/tcg-target.h | 142 +--- 3 files changed, 1343 insertions(+), 650 deletions(-)
configure +4 -1
@@ -707,6 +707,9 @@ case "$cpu" in ppc*) host_guest_base="yes" ;; + hppa*) + host_guest_base="yes" + ;; esac [ -z "$guest_base" ] && guest_base="$host_guest_base"
@@ -2659,7 +2662,7 @@ if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then ia64) ldflags="-Wl,-G0 $linker_script -static $ldflags" ;; - i386|x86_64|ppc|ppc64|s390|sparc64|alpha|arm|m68k|mips|mips64) + *) ldflags="$linker_script $ldflags" ;; esac
tcg/hppa/tcg-target.c +1312 -534
2,174 lines not on this page · raw message
tcg/hppa/tcg-target.h +27 -115
160 lines not on this page · raw message
Signature · 1 line
1.6.6.1