X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightning%2Finclude%2Flightning%2Fjit_loongarch.h;h=72e9f1fddddd5d8b38178a2563bea19bee5475d7;hb=ba86ff938a6b17c171dd68ebdf897ca3e30550f8;hp=44982ecc8747ae0dd758d75290c98fe972870bc5;hpb=c0c1a5b0163ec977f5cc597a8732e0fce93203f7;p=pcsx_rearmed.git diff --git a/deps/lightning/include/lightning/jit_loongarch.h b/deps/lightning/include/lightning/jit_loongarch.h index 44982ecc..72e9f1fd 100644 --- a/deps/lightning/include/lightning/jit_loongarch.h +++ b/deps/lightning/include/lightning/jit_loongarch.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 Free Software Foundation, Inc. + * Copyright (C) 2023 Free Software Foundation, Inc. * * This file is part of GNU lightning. * @@ -74,4 +74,15 @@ typedef enum { _NOREG, } jit_reg_t; +typedef struct { + /* generate special instructions for unaligned load/store? */ + /* It is not guaranteed unaligned memory access is supported. */ + jit_uint32_t unaligned : 1; +} jit_cpu_t; + +/* + * Initialization + */ +extern jit_cpu_t jit_cpu; + #endif /* _jit_loongarch_h */