1- From f8f19b4749ef849c814cb24c104e53c991488310 Mon Sep 17 00:00:00 2001
2- From: Antoni Boucher <bouanto@zoho .com>
3- Date: Fri, 16 Feb 2024 12:04:40 -0500
4- Subject: [PATCH] Disable 128- bit integers for testing purposes
1+ From 252013d4d77dea9ce2078642d721d7ab906075ac Mon Sep 17 00:00:00 2001
2+ From: Robert Zakrzewski <robert.zakrzewski1@stellantis .com>
3+ Date: Fri, 19 Apr 2024 16:21:56 +0200
4+ Subject: [PATCH] Disable 128 bit integers for testing purposes
55
66---
77 gcc/config/i386/i386-jit.cc | 2 +-
88 gcc/jit/jit-playback.cc | 8 ++++----
99 2 files changed, 5 insertions(+), 5 deletions(-)
1010
1111diff --git a/gcc/config/i386/i386-jit.cc b/gcc/config/i386/i386-jit.cc
12- index 49e54aa7990..67c50bdc6dd 100644
12+ index 8c7c8cd45e8..2dc35b6a746 100644
1313--- a/gcc/config/i386/i386-jit.cc
1414+++ b/gcc/config/i386/i386-jit.cc
15- @@ -68 ,7 +68 ,7 @@ ix86_jit_register_target_info (void)
15+ @@ -69 ,7 +69 ,7 @@ ix86_jit_register_target_info (void)
1616 std::string cpu = arch.substr (arg_pos, end_pos - arg_pos);
1717 jit_target_set_arch (cpu);
1818
1919- jit_target_set_128bit_int_support (targetm.scalar_mode_supported_p (TImode));
2020+ //jit_target_set_128bit_int_support (targetm.scalar_mode_supported_p (TImode));
2121
22- if (TARGET_MMX )
23- jit_add_target_info ("target_feature", "mmx" );
22+ if (float16_type_node != NULL && TYPE_PRECISION(float16_type_node) == 16 )
23+ jit_target_add_supported_target_dependent_type(GCC_JIT_TYPE_FLOAT16 );
2424diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc
25- index 6b0522d6f88..73efa6b5bc0 100644
25+ index 625af722741..a6ddfa179d0 100644
2626--- a/gcc/jit/jit-playback.cc
2727+++ b/gcc/jit/jit-playback.cc
2828@@ -249,8 +249,8 @@ get_tree_node_for_type (enum gcc_jit_types type_)
@@ -48,5 +48,5 @@ index 6b0522d6f88..73efa6b5bc0 100644
4848 add_error (NULL, "gcc_jit_types value unsupported on this target: %i",
4949 type_);
5050- -
51- 2.43.0
51+ 2.25.1
5252
0 commit comments