From 996f2e071baaf52105714283d141af2eac8ffbfb Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 15 Apr 2019 15:21:49 +0200 Subject: Implement a `Osel` operation for x86 The operation compiles down to conditional moves. --- x86/Machregs.v | 1 + 1 file changed, 1 insertion(+) (limited to 'x86/Machregs.v') diff --git a/x86/Machregs.v b/x86/Machregs.v index bdf492ed..6f3064b8 100644 --- a/x86/Machregs.v +++ b/x86/Machregs.v @@ -351,6 +351,7 @@ Definition two_address_op (op: operation) : bool := | Olongofsingle => false | Osingleoflong => false | Ocmp c => false + | Osel c op => true end. (* Constraints on constant propagation for builtins *) -- cgit