diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-03-21 22:39:27 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-03-21 22:39:27 +0100 |
commit | 23fa2a18e015b9d330ad6f1f08cf50adf90bd80b (patch) | |
tree | e3e39eebc5164b967db9b16504bfe19edc4d2bdc /x86/Conventions1.v | |
parent | ab5528fb4caf637a0c7014d943302198079e7c20 (diff) | |
download | compcert-kvx-23fa2a18e015b9d330ad6f1f08cf50adf90bd80b.tar.gz compcert-kvx-23fa2a18e015b9d330ad6f1f08cf50adf90bd80b.zip |
try to be portable across archs
Diffstat (limited to 'x86/Conventions1.v')
-rw-r--r-- | x86/Conventions1.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x86/Conventions1.v b/x86/Conventions1.v index 646c4afb..35d555f9 100644 --- a/x86/Conventions1.v +++ b/x86/Conventions1.v @@ -15,6 +15,7 @@ Require Import Coqlib Decidableplus. Require Import AST Machregs Locations. +Require Import Errors. (** * Classification of machine registers *) @@ -26,7 +27,7 @@ Require Import AST Machregs Locations. We follow the x86-32 and x86-64 application binary interfaces (ABI) in our choice of callee- and caller-save registers. *) - + Definition is_callee_save (r: mreg) : bool := match r with | AX | CX | DX => false |