public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8518] x86: Update g++.target/i386/pr100885.C
@ 2021-06-07 14:59 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2021-06-07 14:59 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bcb5e97899e324c092806b49256a515593268a54
commit r11-8518-gbcb5e97899e324c092806b49256a515593268a54
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Jun 7 07:29:31 2021 -0700
x86: Update g++.target/i386/pr100885.C
Since long is 32 bits for x32, update g++.target/i386/pr100885.C to cast
__m64 to long long for x32.
PR target/100885
* g++.target/i386/pr100885.C (_mm_set_epi64): Cast __m64 to long
long.
(cherry picked from commit 52730540e83c81ee595a51feb7736ff753c98139)
Diff:
---
gcc/testsuite/g++.target/i386/pr100885.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.target/i386/pr100885.C b/gcc/testsuite/g++.target/i386/pr100885.C
index 08a5bdd02a2..bec08f7e96d 100644
--- a/gcc/testsuite/g++.target/i386/pr100885.C
+++ b/gcc/testsuite/g++.target/i386/pr100885.C
@@ -33,7 +33,7 @@ protected:
}
};
__m128i _mm_set_epi64(__m64 __q0) {
- __m128i __trans_tmp_5{(long)__q0};
+ __m128i __trans_tmp_5{(long long)__q0};
return __trans_tmp_5;
}
long _mm_storel_epi64___P, Draw_dsts;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-07 14:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 14:59 [gcc r11-8518] x86: Update g++.target/i386/pr100885.C H.J. Lu
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).