diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-11-05 15:04:35 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-11-05 15:04:35 +0100 |
| commit | 6f0d09536405c1a80faa3f27f377d23a551dd8e8 (patch) | |
| tree | 70dbb422d644f4103edd6b4251f95763d46da11e /src | |
| parent | cc661c75493a94aede5839456acbc37d1a40b3f1 (diff) | |
| download | box64-6f0d09536405c1a80faa3f27f377d23a551dd8e8.tar.gz box64-6f0d09536405c1a80faa3f27f377d23a551dd8e8.zip | |
Fixed some issue with some SSE4.2 string compare oprations (should help #1013)
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64compstrings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64compstrings.c b/src/emu/x64compstrings.c index 72781ebb..d61a516c 100644 --- a/src/emu/x64compstrings.c +++ b/src/emu/x64compstrings.c @@ -89,8 +89,8 @@ uint32_t sse42_compare_string_explicit_len(x64emu_t* emu, sse_regs_t* mem, int l // build intres2 uint32_t intres2 = intres1; switch((imm8>>4)&3) { - case 0b01: intres2 ^= ((1<<n_packed)-1); - case 0b11: intres2 ^= ((1<<lmem)-1); + case 0b01: intres2 ^= ((1<<n_packed)-1); break; + case 0b11: intres2 ^= ((1<<lmem)-1); break; } // and now set the flags RESET_FLAGS(emu); |