From 4eb9a54096ae4f4423307731d1caa19e68aa37a5 Mon Sep 17 00:00:00 2001 From: Tyler McMullen Date: Fri, 1 Dec 2017 16:55:26 -0800 Subject: [PATCH] Convert x86_(push|pop) operations to be explicitly limited to 32-bit and 64-bit values. --- lib/cretonne/meta/isa/intel/instructions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cretonne/meta/isa/intel/instructions.py b/lib/cretonne/meta/isa/intel/instructions.py index 82ff8ec90d..42dd8074bd 100644 --- a/lib/cretonne/meta/isa/intel/instructions.py +++ b/lib/cretonne/meta/isa/intel/instructions.py @@ -100,8 +100,7 @@ fmax = Instruction( ins=(x, y), outs=a) -Int = TypeVar('Int', 'A scalar integer type', ints=True) -x = Operand('x', Int) +x = Operand('x', iWord) push = Instruction( 'x86_push', "Pushes onto the stack.",