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=1fec8a9574a8128c9b64f79a5c1f72bbd86ac2bf;hp=df361baaecf813d0eedb8d126b2a4aecb56a13d7;hpb=02a5662c31c401081716623cc80bb1c4ab1dbb19;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 */