|
|
34fde6c |
From 351e776744c56bf6c4afb75e8e9f510e89c15233 Mon Sep 17 00:00:00 2001
|
|
|
cf3cc5b |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
cf3cc5b |
Date: Mon, 29 Jun 2015 14:18:38 -0400
|
|
|
496d4e4 |
Subject: [PATCH 19/20] =?UTF-8?q?ppc64/ppc64le:=20Fix=20behaviour=20of=20I?=
|
|
|
cf3cc5b |
=?UTF-8?q?nt64.max=5Fint=20=C3=B7=20-1=20(RHBZ#1236615).?=
|
|
|
cf3cc5b |
MIME-Version: 1.0
|
|
|
cf3cc5b |
Content-Type: text/plain; charset=UTF-8
|
|
|
cf3cc5b |
Content-Transfer-Encoding: 8bit
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
I only tested this on ppc64le, but assume the behaviour is the
|
|
|
cf3cc5b |
same on ppc64.
|
|
|
cf3cc5b |
---
|
|
|
cf3cc5b |
asmcomp/power64/arch.ml | 2 +-
|
|
|
cf3cc5b |
asmcomp/power64le/arch.ml | 2 +-
|
|
|
cf3cc5b |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
diff --git a/asmcomp/power64/arch.ml b/asmcomp/power64/arch.ml
|
|
|
cf3cc5b |
index 73c516d..ccd11fc 100644
|
|
|
cf3cc5b |
--- a/asmcomp/power64/arch.ml
|
|
|
cf3cc5b |
+++ b/asmcomp/power64/arch.ml
|
|
|
cf3cc5b |
@@ -46,7 +46,7 @@ let allow_unaligned_access = false
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
(* Behavior of division *)
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
-let division_crashes_on_overflow = false
|
|
|
cf3cc5b |
+let division_crashes_on_overflow = true
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
(* Operations on addressing modes *)
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
diff --git a/asmcomp/power64le/arch.ml b/asmcomp/power64le/arch.ml
|
|
|
cf3cc5b |
index 586534b..2155e79 100644
|
|
|
cf3cc5b |
--- a/asmcomp/power64le/arch.ml
|
|
|
cf3cc5b |
+++ b/asmcomp/power64le/arch.ml
|
|
|
cf3cc5b |
@@ -46,7 +46,7 @@ let allow_unaligned_access = false
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
(* Behavior of division *)
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
-let division_crashes_on_overflow = false
|
|
|
cf3cc5b |
+let division_crashes_on_overflow = true
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
(* Operations on addressing modes *)
|
|
|
cf3cc5b |
|
|
|
cf3cc5b |
--
|
|
|
496d4e4 |
2.7.4
|
|
|
cf3cc5b |
|