diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2015-10-11 11:14:30 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2015-10-11 11:14:30 +0200 |
commit | ef0f69dc1caeab169dcefca4d8b89f4d9e756bb5 (patch) | |
tree | d0ec8447f1b87b46d9dc49df81f91d80245cd396 /powerpc/extractionMachdep.v | |
parent | 659b735ed2dbefcbe8bcb2ec2123b66019ddaf14 (diff) | |
parent | 03672b4bbb2c837ea61a716d0ae67d87f68d20f8 (diff) | |
download | compcert-ef0f69dc1caeab169dcefca4d8b89f4d9e756bb5.tar.gz compcert-ef0f69dc1caeab169dcefca4d8b89f4d9e756bb5.zip |
Merge pull request #51 from AbsInt/ppc64
Take advantage of PowerPC 64-bit instructions
Diffstat (limited to 'powerpc/extractionMachdep.v')
-rw-r--r-- | powerpc/extractionMachdep.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/powerpc/extractionMachdep.v b/powerpc/extractionMachdep.v index b448e3d2..b0f05536 100644 --- a/powerpc/extractionMachdep.v +++ b/powerpc/extractionMachdep.v @@ -23,3 +23,11 @@ Extract Constant Asm.symbol_is_rel_data => "C2C.atom_is_rel_data". Extract Constant Asm.ireg_eq => "fun (x: ireg) (y: ireg) -> x = y". Extract Constant Asm.freg_eq => "fun (x: freg) (y: freg) -> x = y". Extract Constant Asm.preg_eq => "fun (x: preg) (y: preg) -> x = y". + +(* Choice of PPC variant *) +Extract Constant Archi.ppc64 => + "begin match Configuration.model with + | ""ppc64"" -> true + | ""e5500"" -> true + | _ -> false + end". |