v2: - smaller commits - improved registers comparison - improved code style - fixed copyright lines
TODOs: - improve load/store instruction generation (risugen) - improve initial random values for FP and Vector regs (risugen) - make write_test_code() generic (risugen) This is an initial effort to have RISU working for PPC64LE. I also made some changes to isolate risugen, creating two modules (risugen_arm.pm and risugen_ppc64le.pm) to implement specific instructions in it. Suggestions are welcome! :) Jose Ricardo Ziviani (9): Create risugen_arm.pm module for risugen Refactor risugen to remove ARM specific code Change mode directive of ARM risu files Implement lib to deal with PPC64 registers Implement basic test code for PPC64 Implement initial support for PPC64 Add PPC64 in risu build system Implement risugen module for PPC64 Implement risufile with all PPC64 instructions aarch64.risu | 2 +- arm.risu | 1 + configure | 8 +- ppc64.risu | 3448 ++++++++++++++++++++++++++++++++++++++++++++++++ risu_ppc64le.c | 158 +++ risu_reginfo_ppc64le.c | 200 +++ risu_reginfo_ppc64le.h | 40 + risugen | 1035 +-------------- risugen_arm.pm | 1086 +++++++++++++++ risugen_ppc64.pm | 460 +++++++ test_ppc64le.s | 51 + thumb.risu | 2 +- 12 files changed, 5478 insertions(+), 1013 deletions(-) create mode 100644 ppc64.risu create mode 100644 risu_ppc64le.c create mode 100644 risu_reginfo_ppc64le.c create mode 100644 risu_reginfo_ppc64le.h create mode 100644 risugen_arm.pm create mode 100644 risugen_ppc64.pm create mode 100644 test_ppc64le.s -- 2.7.4