diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-10-10 15:45:04 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-10-10 15:45:04 +0200 |
| commit | cafe638d5a4212a792f49f61ac7e0cd7230733ba (patch) | |
| tree | 5cf4675b90d91e343078dd28f1eaa65c05896485 /src/libtools | |
| parent | 4d996f6273b9f27d92f51b902504878c1e394680 (diff) | |
| download | box64-cafe638d5a4212a792f49f61ac7e0cd7230733ba.tar.gz box64-cafe638d5a4212a792f49f61ac7e0cd7230733ba.zip | |
[ARM64] Fixed a SIGBUS handling for VSTR128 not detected correctly
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/signals.c b/src/libtools/signals.c index 726aec25..3c88d345 100644 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -599,7 +599,7 @@ int sigbus_specialcases(siginfo_t* info, void * ucntx, void* pc, void* _fpsimd) p->uc_mcontext.pc+=4; // go to next opcode return 1; } - if((opcode&0b00111111011000001111110000000000)==0b00111101000000000001100000000000) { + if((opcode&0b00111111010000000000000000000000)==0b00111101000000000000000000000000) { // this is VSTR int scale = (opcode>>30)&3; if((opcode>>23)&1) |