On Tue, Feb 22, 2022 at 8:38 AM Shubham Narlawar wrote:
>
> On Mon, Feb 21, 2022 at 1:02 PM Richard Biener
> wrote:
> >
> > On Sun, Feb 20, 2022 at 11:44 PM Andrew Pinski via Gcc
> > wrote:
> > >
> > > On Sun, Feb 20, 2022 at 10:45 AM Shubham Narlawar
> > > wrote:
> > > >
> > > > On Sat, Feb
Dhrystone is (and probably always was) a bogus benchmark. It's a
well-known truism that MIPS stands for Meaningless Indication of
Processor Speed, and dhrystone scores are equally meaningless.
Dhrystone fell out of common usage over 20 years ago.
It's not GCC that is being peculiar, it's just
On Tue, Feb 22, 2022 at 3:55 PM Richard Biener
wrote:
>
> On Tue, Feb 22, 2022 at 8:38 AM Shubham Narlawar
> wrote:
> >
> > On Mon, Feb 21, 2022 at 1:02 PM Richard Biener
> > wrote:
> > >
> > > On Sun, Feb 20, 2022 at 11:44 PM Andrew Pinski via Gcc
> > > wrote:
> > > >
> > > > On Sun, Feb 20,
Dear developers:
I find it counterintuitive that if I repeatedly reset a variable by using
strcpy with an empty string "" to that variable and then us strcat to add
characters to that variable that that seems to lead to a stack overflow.
I would expect strcpy to first free the variable, then ma
Andras,
The whole point of benchmarks is to judge a processor's performance.
That being said, just crippling GCC is not reasonable because
processors must be judged in the appropriate context and that
includes the current state of the art compiler technology. If you have
a new processor I'd benchm
> On Feb 22, 2022, at 4:26 PM, Gary Oblock via Gcc wrote:
>
> Andras,
>
> The whole point of benchmarks is to judge a processor's performance.
> That being said, just crippling GCC is not reasonable because
> processors must be judged in the appropriate context and that
> includes the current
You may be thinking of string capabilities in some other language.
Selected from the Linux man pages for these glibc functions:
strcpy:
char *strcpy(char *dest, const char *src);
The strcpy() function copies the string pointed to by src,
including
the terminating null by
I studied Dhrystone about 30 years ago and found it
had a number of flaws back then. For example, most of
the loops in the code are only executed 1-3 times, which
minimizes the value of hoisting values out of inner loops.
Read the Dhrystone wikipedia article for more information.
Going back to wh
On Tue, Feb 22, 2022 at 2:10 PM Shubham Narlawar wrote:
>
> On Tue, Feb 22, 2022 at 3:55 PM Richard Biener
> wrote:
> >
> > On Tue, Feb 22, 2022 at 8:38 AM Shubham Narlawar
> > wrote:
> > >
> > > On Mon, Feb 21, 2022 at 1:02 PM Richard Biener
> > > wrote:
> > > >
> > > > On Sun, Feb 20, 2022 a