Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
void emitNOP();
void emitKIL();
void emitOUT();
+
+ void emitMEMBAR();
};
/*******************************************************************************
emitGPR (0x00, insn->def(0));
}
+void
+CodeEmitterGM107::emitMEMBAR()
+{
+ emitInsn (0xef980000);
+ emitField(0x08, 2, insn->subOp >> 2);
+}
+
/*******************************************************************************
* assembler front-end
******************************************************************************/
case OP_RESTART:
emitOUT();
break;
+ case OP_MEMBAR:
+ emitMEMBAR();
+ break;
default:
assert(!"invalid opcode");
emitNOP();