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=03b78a3bf48813202e01149ae0b3c5c1f01efb4c;hp=afdf21dab3ebdbb1ab431dc0f9d494b6ca584e9d;hpb=c0c162422385a60ea7c8fa1dfe439e83e0a13d88;p=pcsx_rearmed.git diff --git a/deps/lightning/include/lightning/jit_hppa.h b/deps/lightning/include/lightning/jit_hppa.h index afdf21da..66a3adf1 100644 --- a/deps/lightning/include/lightning/jit_hppa.h +++ b/deps/lightning/include/lightning/jit_hppa.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2022 Free Software Foundation, Inc. + * Copyright (C) 2013-2023 Free Software Foundation, Inc. * * This file is part of GNU lightning. * @@ -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 */