public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/wschmidt/heads/builtins4)] rs6000: Adjust temporary defines for __builtin_vec_splat_s*
@ 2020-12-16 18:08 William Schmidt
0 siblings, 0 replies; 4+ messages in thread
From: William Schmidt @ 2020-12-16 18:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8823ec01e4ff8fe9f3132ddddc98f210c3326c1c
commit 8823ec01e4ff8fe9f3132ddddc98f210c3326c1c
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date: Mon Nov 16 13:52:06 2020 -0500
rs6000: Adjust temporary defines for __builtin_vec_splat_s*
2020-11-16 Bill Schmidt <wschmidt@linux.ibm.com>
* config/rs6000/rs6000-gen-builtins.c (write_defines_file):
Try again on defines for __builtin_vec_splat_s{8,16,32}.
Diff:
---
gcc/config/rs6000/rs6000-gen-builtins.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index f45fb63045f..a25a34a166d 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -2704,12 +2704,13 @@ write_defines_file ()
}
/* Write some temporary defines to use until we make the switch. */
+ fprintf (defines_file, "\n/* #### TEMPORARY #### */\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s8 __builtin_altivec_splat_s8\n");
+ "#define __builtin_vec_splat_s8 __builtin_altivec_vspltisb\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s16 __builtin_altivec_splat_s16\n");
+ "#define __builtin_vec_splat_s16 __builtin_altivec_vspltish\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s32 __builtin_altivec_splat_s32\n");
+ "#define __builtin_vec_splat_s32 __builtin_altivec_vspltisw\n");
fprintf (defines_file, "\n#endif\n");
return 1;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gcc(refs/users/wschmidt/heads/builtins4)] rs6000: Adjust temporary defines for __builtin_vec_splat_s*
@ 2021-02-07 18:14 William Schmidt
0 siblings, 0 replies; 4+ messages in thread
From: William Schmidt @ 2021-02-07 18:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6572661882de985a23ee6a72bea83d1eff828639
commit 6572661882de985a23ee6a72bea83d1eff828639
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date: Mon Nov 16 13:52:06 2020 -0500
rs6000: Adjust temporary defines for __builtin_vec_splat_s*
2020-11-16 Bill Schmidt <wschmidt@linux.ibm.com>
* config/rs6000/rs6000-gen-builtins.c (write_defines_file):
Try again on defines for __builtin_vec_splat_s{8,16,32}.
Diff:
---
gcc/config/rs6000/rs6000-gen-builtins.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index f45fb63045f..a25a34a166d 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -2704,12 +2704,13 @@ write_defines_file ()
}
/* Write some temporary defines to use until we make the switch. */
+ fprintf (defines_file, "\n/* #### TEMPORARY #### */\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s8 __builtin_altivec_splat_s8\n");
+ "#define __builtin_vec_splat_s8 __builtin_altivec_vspltisb\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s16 __builtin_altivec_splat_s16\n");
+ "#define __builtin_vec_splat_s16 __builtin_altivec_vspltish\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s32 __builtin_altivec_splat_s32\n");
+ "#define __builtin_vec_splat_s32 __builtin_altivec_vspltisw\n");
fprintf (defines_file, "\n#endif\n");
return 1;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gcc(refs/users/wschmidt/heads/builtins4)] rs6000: Adjust temporary defines for __builtin_vec_splat_s*
@ 2020-11-24 16:45 William Schmidt
0 siblings, 0 replies; 4+ messages in thread
From: William Schmidt @ 2020-11-24 16:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:695292e70557a761b570f984c68e3e3ec5d9d4d9
commit 695292e70557a761b570f984c68e3e3ec5d9d4d9
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date: Mon Nov 16 13:52:06 2020 -0500
rs6000: Adjust temporary defines for __builtin_vec_splat_s*
2020-11-16 Bill Schmidt <wschmidt@linux.ibm.com>
* config/rs6000/rs6000-gen-builtins.c (write_defines_file):
Try again on defines for __builtin_vec_splat_s{8,16,32}.
Diff:
---
gcc/config/rs6000/rs6000-gen-builtins.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index f45fb63045f..a25a34a166d 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -2704,12 +2704,13 @@ write_defines_file ()
}
/* Write some temporary defines to use until we make the switch. */
+ fprintf (defines_file, "\n/* #### TEMPORARY #### */\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s8 __builtin_altivec_splat_s8\n");
+ "#define __builtin_vec_splat_s8 __builtin_altivec_vspltisb\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s16 __builtin_altivec_splat_s16\n");
+ "#define __builtin_vec_splat_s16 __builtin_altivec_vspltish\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s32 __builtin_altivec_splat_s32\n");
+ "#define __builtin_vec_splat_s32 __builtin_altivec_vspltisw\n");
fprintf (defines_file, "\n#endif\n");
return 1;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gcc(refs/users/wschmidt/heads/builtins4)] rs6000: Adjust temporary defines for __builtin_vec_splat_s*
@ 2020-11-16 18:52 William Schmidt
0 siblings, 0 replies; 4+ messages in thread
From: William Schmidt @ 2020-11-16 18:52 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a27282c0e54840f89d14cb1a524729d5d65d8540
commit a27282c0e54840f89d14cb1a524729d5d65d8540
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date: Mon Nov 16 13:52:06 2020 -0500
rs6000: Adjust temporary defines for __builtin_vec_splat_s*
2020-11-16 Bill Schmidt <wschmidt@linux.ibm.com>
* config/rs6000/rs6000-gen-builtins.c (write_defines_file):
Try again on defines for __builtin_vec_splat_s{8,16,32}.
Diff:
---
gcc/config/rs6000/rs6000-gen-builtins.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index f45fb63045f..a25a34a166d 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -2704,12 +2704,13 @@ write_defines_file ()
}
/* Write some temporary defines to use until we make the switch. */
+ fprintf (defines_file, "\n/* #### TEMPORARY #### */\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s8 __builtin_altivec_splat_s8\n");
+ "#define __builtin_vec_splat_s8 __builtin_altivec_vspltisb\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s16 __builtin_altivec_splat_s16\n");
+ "#define __builtin_vec_splat_s16 __builtin_altivec_vspltish\n");
fprintf (defines_file,
- "#define __builtin_vec_splat_s32 __builtin_altivec_splat_s32\n");
+ "#define __builtin_vec_splat_s32 __builtin_altivec_vspltisw\n");
fprintf (defines_file, "\n#endif\n");
return 1;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-02-07 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 18:08 [gcc(refs/users/wschmidt/heads/builtins4)] rs6000: Adjust temporary defines for __builtin_vec_splat_s* William Schmidt
-- strict thread matches above, loose matches on Subject: below --
2021-02-07 18:14 William Schmidt
2020-11-24 16:45 William Schmidt
2020-11-16 18:52 William Schmidt
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).