Add IR_XBAR, a barrier against XLOAD/XSTORE optimizations.

This commit is contained in:
Mike Pall
2011-02-07 21:59:25 +01:00
parent 0a50356b6f
commit 97d0874ff5
4 changed files with 6 additions and 2 deletions

View File

@@ -3991,7 +3991,7 @@ static void asm_ir(ASMState *as, IRIns *ir)
switch ((IROp)ir->o) {
/* Miscellaneous ops. */
case IR_LOOP: asm_loop(as); break;
case IR_NOP: lua_assert(!ra_used(ir)); break;
case IR_NOP: case IR_XBAR: lua_assert(!ra_used(ir)); break;
case IR_PHI: asm_phi(as, ir); break;
case IR_HIOP: asm_hiop(as, ir); break;