aboutsummaryrefslogtreecommitdiffstats
path: root/arm/Machregsaux.ml
blob: a4624a9d0a36dc99fc35d53c6732d4be1404336d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(* *********************************************************************)
(*                                                                     *)
(*              The Compcert verified compiler                         *)
(*                                                                     *)
(*          Xavier Leroy, INRIA Paris-Rocquencourt                     *)
(*                                                                     *)
(*  Copyright Institut National de Recherche en Informatique et en     *)
(*  Automatique.  All rights reserved.  This file is distributed       *)
(*  under the terms of the INRIA Non-Commercial License Agreement.     *)
(*                                                                     *)
(* *********************************************************************)

(** Auxiliary functions on machine registers *)

let is_scratch_register s =  s = "R14"  || s = "r14"