X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightning%2Finclude%2Flightning%2Fjit_hppa.h;h=66a3adf11026dc784e26cc9367f630f377b120d0;hb=d75d83f79fd867214fe53d167a13d0ff2bf1e7d0;hp=df361baaecf813d0eedb8d126b2a4aecb56a13d7;hpb=79bfeef6160be4b228a7998ac2b43cd83d882532;p=pcsx_rearmed.git diff --git a/deps/lightning/include/lightning/jit_hppa.h b/deps/lightning/include/lightning/jit_hppa.h index df361baa..66a3adf1 100644 --- a/deps/lightning/include/lightning/jit_hppa.h +++ b/deps/lightning/include/lightning/jit_hppa.h @@ -131,4 +131,18 @@ typedef enum { _NOREG, } jit_reg_t; +typedef struct { + /* Need this to pass unldst.tst on . This is very strange, because + * even for aligned addresses it is required, but all other load/store + * tests *work* with index immediates. Possibly a qemu (7.0.0) bug, + * and for the moment, by default keep failing. Need to test in + * actual hardware. */ + jit_uint32_t imm_idx : 1; +} jit_cpu_t; + +/* + * Initialization + */ +extern jit_cpu_t jit_cpu; + #endif /* _jit_hppa */