1- From 90cde0a829fd72230dcc3d57b69966e4b7c7e4e9 Mon Sep 17 00:00:00 2001
1+ From d4a4d284c76822280c5f4c05ae4a4d4a58bbeda9 Mon Sep 17 00:00:00 2001
22From: Antoni Boucher <
[email protected] >
33Date: Fri, 16 Feb 2024 12:04:40 -0500
44Subject: [PATCH] Disable 128-bit integers for testing purposes
55
66---
7- gcc/config/i386/i386-jit.cc | 4 ++--
8- gcc/jit/jit-playback.cc | 8 ++++----
9- 2 files changed, 6 insertions(+), 6 deletions(-)
7+ gcc/config/aarch64/aarch64-jit.cc | 4 ++--
8+ gcc/config/i386/i386-jit.cc | 4 ++--
9+ gcc/jit/jit-playback.cc | 8 ++++----
10+ 3 files changed, 8 insertions(+), 8 deletions(-)
1011
12+ diff --git a/gcc/config/aarch64/aarch64-jit.cc b/gcc/config/aarch64/aarch64-jit.cc
13+ index b1cb446baa4..0499e0b0ab1 100644
14+ --- a/gcc/config/aarch64/aarch64-jit.cc
15+ +++ b/gcc/config/aarch64/aarch64-jit.cc
16+ @@ -53,11 +53,11 @@ aarch64_jit_register_target_info (void)
17+ jit_target_set_arch (cpu);
18+ }
19+
20+ - if (targetm.scalar_mode_supported_p (TImode))
21+ + /*if (targetm.scalar_mode_supported_p (TImode))
22+ {
23+ jit_target_add_supported_target_dependent_type(GCC_JIT_TYPE_UINT128_T);
24+ jit_target_add_supported_target_dependent_type(GCC_JIT_TYPE_INT128_T);
25+ - }
26+ + }*/
27+
28+ if (float16_type_node != NULL && TYPE_PRECISION(float16_type_node) == 16)
29+ jit_target_add_supported_target_dependent_type(GCC_JIT_TYPE_FLOAT16);
1130diff --git a/gcc/config/i386/i386-jit.cc b/gcc/config/i386/i386-jit.cc
1231index 8e085ff4526..f839201c084 100644
1332--- a/gcc/config/i386/i386-jit.cc
@@ -27,10 +46,10 @@ index 8e085ff4526..f839201c084 100644
2746 if (float16_type_node != NULL && TYPE_PRECISION(float16_type_node) == 16)
2847 jit_target_add_supported_target_dependent_type(GCC_JIT_TYPE_FLOAT16);
2948diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc
30- index 773ecebe68d..0006da73413 100644
49+ index 6badbaf0d6f..97160e08103 100644
3150--- a/gcc/jit/jit-playback.cc
3251+++ b/gcc/jit/jit-playback.cc
33- @@ -249 ,8 +249 ,8 @@ get_tree_node_for_type (enum gcc_jit_types type_)
52+ @@ -250 ,8 +250 ,8 @@ get_tree_node_for_type (enum gcc_jit_types type_)
3453 case GCC_JIT_TYPE_UINT64_T:
3554 return uint64_type_node;
3655 case GCC_JIT_TYPE_UINT128_T:
@@ -41,7 +60,7 @@ index 773ecebe68d..0006da73413 100644
4160
4261 add_error (NULL, "gcc_jit_types value unsupported on this target: %i",
4362 type_);
44- @@ -265 ,8 +265 ,8 @@ get_tree_node_for_type (enum gcc_jit_types type_)
63+ @@ -266 ,8 +266 ,8 @@ get_tree_node_for_type (enum gcc_jit_types type_)
4564 case GCC_JIT_TYPE_INT64_T:
4665 return intDI_type_node;
4766 case GCC_JIT_TYPE_INT128_T:
@@ -53,5 +72,5 @@ index 773ecebe68d..0006da73413 100644
5372 add_error (NULL, "gcc_jit_types value unsupported on this target: %i",
5473 type_);
5574- -
56- 2.47 .0
75+ 2.50 .0
5776
0 commit comments