public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] use E_*mode instead of just *mode
@ 2020-09-15 18:39 Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2020-09-15 18:39 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7f7413a3d4417e549272c6f7be70946eeb0a4ae3
commit 7f7413a3d4417e549272c6f7be70946eeb0a4ae3
Author: Alexandre Oliva <oliva@adacore.com>
Date: Tue Sep 15 15:13:00 2020 -0300
use E_*mode instead of just *mode
g++ 4.8.5 rejected cases with SFmode and DFmode, presumably due to
some bug in the constexpr implementation.
for gcc/ChangeLog
* config/rs6000/rs6000.c (have_compare_and_set_mask): Use
E_*mode in cases.
Diff:
---
gcc/config/rs6000/rs6000.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 6d0c5509b0e..b32fe916f09 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -15190,8 +15190,8 @@ have_compare_and_set_mask (machine_mode mode)
{
switch (mode)
{
- case SFmode:
- case DFmode:
+ case E_SFmode:
+ case E_DFmode:
return TARGET_P9_MINMAX;
default:
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gcc(refs/users/aoliva/heads/testme)] use E_*mode instead of just *mode
@ 2020-09-15 18:16 Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2020-09-15 18:16 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e67171d5c48ae0433e0404122cedf23198fc674b
commit e67171d5c48ae0433e0404122cedf23198fc674b
Author: Alexandre Oliva <oliva@gnu.org>
Date: Tue Sep 15 15:13:00 2020 -0300
use E_*mode instead of just *mode
Diff:
---
gcc/config/rs6000/rs6000.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 6d0c5509b0e..b32fe916f09 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -15190,8 +15190,8 @@ have_compare_and_set_mask (machine_mode mode)
{
switch (mode)
{
- case SFmode:
- case DFmode:
+ case E_SFmode:
+ case E_DFmode:
return TARGET_P9_MINMAX;
default:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-15 18:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 18:39 [gcc(refs/users/aoliva/heads/testme)] use E_*mode instead of just *mode Alexandre Oliva
-- strict thread matches above, loose matches on Subject: below --
2020-09-15 18:16 Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).