From f1f5dd79bf8c2cf2ef64cc1432a4a0601d475e72 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 12 Nov 2007 14:38:59 -0800 Subject: X86: Implement the wrcr microop which writes a control register, and some control register work. --HG-- extra : convert_revision : 3e9daef9cdd0665c033420e5b4f981649e9908ab --- src/arch/x86/isa/insts/general_purpose/data_transfer/move.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/arch/x86/isa/insts') diff --git a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py index ada7f28a3..a15fc21ef 100644 --- a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py +++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py @@ -188,6 +188,10 @@ def macroop MOVZX_W_R_P { ld t1, seg, riprel, disp, dataSize=2 zexti reg, t1, 15 }; + +def macroop MOV_C_R { + wrcr reg, regm +}; ''' #let {{ # class MOVD(Inst): -- cgit v1.2.3