diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2019-09-11 15:13:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 15:13:12 +0200 |
commit | 7601fb5e792a5305336e5cda9794c4041d053b95 (patch) | |
tree | f0dc0acd7bb5ad6dae80e4389fb165fa93eb3cb8 /backend/Selectionaux.ml | |
parent | d3eba50731c23546c6e9ccb14230460fc1da592e (diff) | |
parent | c243b565ab0744086e10efcfee16768f6c3cf880 (diff) | |
download | compcert-7601fb5e792a5305336e5cda9794c4041d053b95.tar.gz compcert-7601fb5e792a5305336e5cda9794c4041d053b95.zip |
Merge pull request #313 from AbsInt/aarch64
Support target architecture AArch64 (ARMv8 in 64-bit mode)
Diffstat (limited to 'backend/Selectionaux.ml')
-rw-r--r-- | backend/Selectionaux.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/Selectionaux.ml b/backend/Selectionaux.ml index 4ca7dd21..8acae8f2 100644 --- a/backend/Selectionaux.ml +++ b/backend/Selectionaux.ml @@ -68,6 +68,8 @@ let rec cost_expr = function let fast_cmove ty = match Configuration.arch, Configuration.model with + | "aarch64", _ -> + (match ty with Tint | Tlong | Tfloat | Tsingle -> true | _ -> false) | "arm", _ -> (match ty with Tint | Tfloat | Tsingle -> true | _ -> false) | "powerpc", "e5500" -> |