[jiterp] cmpxchg opcodes are supported (#82674)
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Sun, 26 Feb 2023 00:53:03 +0000 (19:53 -0500)
committerGitHub <noreply@github.com>
Sun, 26 Feb 2023 00:53:03 +0000 (19:53 -0500)
src/mono/mono/mini/interp/jiterpreter.c

index 130db642adfd0417c6cccd9a9d8b725c3890b55c..89c7cb7da17af467aeac6cebf59a5fb71b27952a 100644 (file)
@@ -720,6 +720,8 @@ jiterp_should_abort_trace (InterpInst *ins, gboolean *inside_branch_block)
                case MINT_ADD_MUL_I4_IMM:
                case MINT_ADD_MUL_I8_IMM:
                case MINT_ARRAY_RANK:
+               case MINT_MONO_CMPXCHG_I4:
+               case MINT_MONO_CMPXCHG_I8:
                        return TRACE_CONTINUE;
 
                case MINT_BR: