Exclusive store op hang

Hi. I am doing an ldxlb/ldaxlb - stlxlb combo.

But the stlxlb instruction always hangs.

Same happens if I use CASALB for testing.

It's in a Windows driver (ASM required), testing under HyperV.

Mov w14, #1

Ldaxlb w13, [x10]

Cmp xzr, w13

B.ne Retry

Stlxlb w15, w14, [x10] - hang here

WinDBG never reaches the next instruction (I've put a breakpoint there and tried both Step Over, Into and Go)

If it looped I'd kinda get it (not likely),  but a hang.. makes no sense.

Any clues?

OSZAR »