summaryrefslogtreecommitdiff
path: root/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc')
-rw-r--r--powerpc/Archi.v (renamed from powerpc/Nan.v)18
1 files changed, 13 insertions, 5 deletions
diff --git a/powerpc/Nan.v b/powerpc/Archi.v
index c230789..0672dce 100644
--- a/powerpc/Nan.v
+++ b/powerpc/Archi.v
@@ -14,13 +14,21 @@
(* *)
(* *********************************************************************)
+(** Architecture-dependent parameters for PowerPC *)
+
+Require Import ZArith.
Require Import Fappli_IEEE.
Require Import Fappli_IEEE_bits.
-Require Import Floats.
-Require Import ZArith.
-Require Import Integers.
-Program Definition default_pl : bool * nan_pl 53 := (false, nat_iter 51 xO xH).
+Definition big_endian := false.
+
+Notation align_int64 := 8%Z (only parsing).
+Notation align_float64 := 8%Z (only parsing).
+
+Program Definition default_pl : bool * nan_pl 53 :=
+ (true, nat_iter 51 xO xH).
Definition choose_binop_pl (s1: bool) (pl1: nan_pl 53) (s2: bool) (pl2: nan_pl 53) :=
- false.
+ false. (**r always choose first NaN *)
+
+Global Opaque big_endian default_pl choose_binop_pl.