public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/99414] s235, s2233, s275, s2275 and s233 benchmarks of TSVC is vectorized better by icc than gcc (loop interchange) Date: Wed, 17 Mar 2021 18:44:40 +0000 [thread overview] Message-ID: <bug-99414-4-CcH3AuhRPw@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99414-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99414 Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|s235, s2233, s275 and s233 |s235, s2233, s275, s2275 |benchmarks of TSVC is |and s233 benchmarks of TSVC |vectorized better by icc |is vectorized better by icc |than gcc (loop interchange) |than gcc (loop interchange) --- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- s2275: typedef float real_t; #define iterations 100000 #define LEN_1D 32000 #define LEN_2D 256 // array definitions real_t a[LEN_2D],b[LEN_2D],c[LEN_2D],d[LEN_2D],aa[LEN_2D][LEN_2D],bb[LEN_2D][LEN_2D],cc[LEN_2D][LEN_2D],tt[LEN_2D][LEN_2D]; int main(struct args_t * func_args) { // loop distribution is needed to be able to interchange for (int nl = 0; nl < 100*(iterations/LEN_2D); nl++) { for (int i = 0; i < LEN_2D; i++) { for (int j = 0; j < LEN_2D; j++) { aa[j][i] = aa[j][i] + bb[j][i] * cc[j][i]; } a[i] = b[i] + c[i] * d[i]; } dummy(); } return aa[0][0]; }
next prev parent reply other threads:[~2021-03-17 18:44 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-05 15:40 [Bug middle-end/99414] New: s235 benchmark " hubicka at gcc dot gnu.org 2021-03-08 8:38 ` [Bug tree-optimization/99414] " rguenth at gcc dot gnu.org 2021-03-17 18:30 ` [Bug tree-optimization/99414] s235 and s233 benchmarks " hubicka at gcc dot gnu.org 2021-03-17 18:32 ` [Bug tree-optimization/99414] s235, s2233 " hubicka at gcc dot gnu.org 2021-03-17 18:42 ` [Bug tree-optimization/99414] s235, s2233, s275 " hubicka at gcc dot gnu.org 2021-03-17 18:44 ` hubicka at gcc dot gnu.org [this message] 2021-03-18 8:26 ` [Bug tree-optimization/99414] s235, s2233, s275, s2275 " rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-99414-4-CcH3AuhRPw@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).