|
| 1 | +From f8f19b4749ef849c814cb24c104e53c991488310 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Antoni Boucher < [email protected]> |
| 3 | +Date: Fri, 16 Feb 2024 12:04:40 -0500 |
| 4 | +Subject: [PATCH] Disable 128-bit integers for testing purposes |
| 5 | + |
| 6 | +--- |
| 7 | + gcc/config/i386/i386-jit.cc | 2 +- |
| 8 | + gcc/jit/jit-playback.cc | 8 ++++---- |
| 9 | + 2 files changed, 5 insertions(+), 5 deletions(-) |
| 10 | + |
| 11 | +diff --git a/gcc/config/i386/i386-jit.cc b/gcc/config/i386/i386-jit.cc |
| 12 | +index 49e54aa7990..67c50bdc6dd 100644 |
| 13 | +--- a/gcc/config/i386/i386-jit.cc |
| 14 | ++++ b/gcc/config/i386/i386-jit.cc |
| 15 | +@@ -68,7 +68,7 @@ ix86_jit_register_target_info (void) |
| 16 | + std::string cpu = arch.substr (arg_pos, end_pos - arg_pos); |
| 17 | + jit_target_set_arch (cpu); |
| 18 | + |
| 19 | +- jit_target_set_128bit_int_support (targetm.scalar_mode_supported_p (TImode)); |
| 20 | ++ //jit_target_set_128bit_int_support (targetm.scalar_mode_supported_p (TImode)); |
| 21 | + |
| 22 | + if (TARGET_MMX) |
| 23 | + jit_add_target_info ("target_feature", "mmx"); |
| 24 | +diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc |
| 25 | +index 6b0522d6f88..73efa6b5bc0 100644 |
| 26 | +--- a/gcc/jit/jit-playback.cc |
| 27 | ++++ b/gcc/jit/jit-playback.cc |
| 28 | +@@ -249,8 +249,8 @@ get_tree_node_for_type (enum gcc_jit_types type_) |
| 29 | + case GCC_JIT_TYPE_UINT64_T: |
| 30 | + return uint64_type_node; |
| 31 | + case GCC_JIT_TYPE_UINT128_T: |
| 32 | +- if (targetm.scalar_mode_supported_p (TImode)) |
| 33 | +- return uint128_type_node; |
| 34 | ++ /*if (targetm.scalar_mode_supported_p (TImode)) |
| 35 | ++ return uint128_type_node;*/ |
| 36 | + |
| 37 | + add_error (NULL, "gcc_jit_types value unsupported on this target: %i", |
| 38 | + type_); |
| 39 | +@@ -265,8 +265,8 @@ get_tree_node_for_type (enum gcc_jit_types type_) |
| 40 | + case GCC_JIT_TYPE_INT64_T: |
| 41 | + return intDI_type_node; |
| 42 | + case GCC_JIT_TYPE_INT128_T: |
| 43 | +- if (targetm.scalar_mode_supported_p (TImode)) |
| 44 | +- return intTI_type_node; |
| 45 | ++ /*if (targetm.scalar_mode_supported_p (TImode)) |
| 46 | ++ return intTI_type_node;*/ |
| 47 | + |
| 48 | + add_error (NULL, "gcc_jit_types value unsupported on this target: %i", |
| 49 | + type_); |
| 50 | +-- |
| 51 | +2.43.0 |
| 52 | + |
0 commit comments