From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: gcc list <gcc@gcc.gnu.org>
Subject: Re: GCC performance regression - its memset !
Date: Tue, 23 Apr 2002 05:03:00 -0000 [thread overview]
Message-ID: <st2lmbesk8j.fsf@student.uni-tuebingen.de> (raw)
In-Reply-To: <20020423004239.GB26890@zoy.org>
Hi,
while we're at it, when you have a prototype for memset, gcc forgets
about the alignment:
void f1(unsigned long *p) { memset(p, 0, 16); }
#include <string.h>
void f2(unsigned long *p) { memset(p, 0, 16); }
-> (Alpha)
0000000000000000 <f1>:
0: 08 00 f0 b7 stq zero,8(a0)
4: 1f 04 ff 5f fnop
8: 00 00 f0 b7 stq zero,0(a0)
c: 01 80 fa 6b ret
0000000000000020 <f2>:
20: 0f 00 30 2c ldq_u t0,15(a0)
24: 00 00 50 2c ldq_u t1,0(a0)
28: 41 0e 30 48 mskqh t0,a0,t0
2c: 0f 00 30 3c stq_u t0,15(a0)
30: 42 06 50 48 mskql t1,a0,t1
34: 08 00 f0 3f stq_u zero,8(a0)
38: 00 00 50 3c stq_u t1,0(a0)
3c: 01 80 fa 6b ret
Is there anything that can be done about that?
Falk
next prev parent reply other threads:[~2002-04-23 11:54 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-20 18:13 GCC performance regression - up to 20% ? Michel LESPINASSE
2002-04-21 3:41 ` Andreas Jaeger
2002-04-21 5:46 ` Jan Hubicka
2002-04-21 23:46 ` Michel LESPINASSE
2002-04-22 0:17 ` Andreas Jaeger
2002-04-22 17:42 ` Michel LESPINASSE
2002-04-22 18:20 ` Andrew Pinski
2002-04-22 18:30 ` Carlo Wood
2002-04-22 19:25 ` Andrew Pinski
2002-04-24 15:24 ` Allan Sandfeld Jensen
2002-04-22 7:11 ` Carlo Wood
2002-04-22 7:11 ` Falk Hueffner
2002-04-22 7:34 ` law
2002-04-22 8:23 ` Johannes Stezenbach
2002-04-22 1:47 ` Gerald Pfeifer
2002-04-22 14:33 ` GCC performance regression - its memset ! Michel LESPINASSE
2002-04-22 14:58 ` Jason R Thorpe
2002-04-22 15:27 ` Michel LESPINASSE
2002-04-22 16:59 ` Segher Boessenkool
2002-04-22 17:10 ` Richard Henderson
2002-04-22 17:13 ` Michel LESPINASSE
2002-04-22 17:39 ` Richard Henderson
2002-04-22 17:49 ` Michel LESPINASSE
2002-04-23 5:03 ` Falk Hueffner [this message]
2002-04-23 6:53 ` Andreas Schwab
2002-04-23 2:39 ` Jan Hubicka
2002-04-23 13:36 ` Michel LESPINASSE
2002-04-24 0:30 ` Jan Hubicka
2002-04-24 0:50 ` Jakub Jelinek
2002-04-24 1:00 ` Jan Hubicka
2002-04-24 3:32 ` Jan Hubicka
2002-04-22 23:07 GCC performance regression - its memset! Roger Sayle
2002-04-22 23:30 ` Michel LESPINASSE
2002-04-23 0:45 ` Michel LESPINASSE
2002-04-23 2:53 ` Jan Hubicka
2002-04-23 3:28 ` Richard Henderson
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=st2lmbesk8j.fsf@student.uni-tuebingen.de \
--to=falk.hueffner@student.uni-tuebingen.de \
--cc=gcc@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: link
Be 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).