Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #129544

Re: stdcbench benchmark

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c
Subject Re: stdcbench benchmark
Date 2018-04-21 09:17 +1200
Message-ID <fjv3o7FlnnqU9@mid.individual.net> (permalink)
References (24 earlier) <U6mCC.746810$a15.385697@fx22.am4> <fjut37FlnnqU2@mid.individual.net> <OprCC.676834$8G7.60189@fx36.am4> <fjuv4iFlnnqU7@mid.individual.net> <dWrCC.1203312$Ly1.434769@fx13.am4>

Show all headers | View raw


On 04/21/2018 08:18 AM, bartc wrote:
> On 20/04/2018 20:59, Ian Collins wrote:
>> On 04/21/2018 07:43 AM, bartc wrote:
>>> On 20/04/2018 20:24, Ian Collins wrote:
>>>> On 04/21/2018 01:42 AM, bartc wrote:
>>>>> On 20/04/2018 09:23, mark.bluemel@gmail.com wrote:
>>>>>
>>>>>> I admit that that approach risks letting new entrants to the group
>>>>>> view your unchallenged opinions as facts,
>>>>>
>>>>> BTW what the you think new entrants would make of the claim that a
>>>>> simple optimisation option made a C (?) program up to 40 times faster?
>>>>
>>>> You are distorting the facts.  Nowhere did Scott use the term "a simple
>>>> optimisation option", he said "compiler optimzations".  If you spent
>>>> less time misinterpreting what people say, others might be less inclined
>>>> to call you out.
>>>
>>> And everyone is still at it.
>>>
>>> Please stop.
>>
>> Sot pulling you up for distorting the facts?  No chance.
> 
> We are talking about optimisations which in my experience of gcc has
> rarely offered anything beyond 2x or 3x let alone double figures, and
> somebody claims 40x improvement.

Hang on and back up a minute, I was calling you out for saying Scott 
said he used "a simple optimisation option" to make his code faster.  He 
made no such claim.

> And /I/ am distorting the facts?

Undoubtedly.

>>> It was perfectly obvious what I meant.
>>
>> No it wasn't.  As I explained elsewhere, there are many non-trivial
>> optimisations.  Many are enabled by "umbrella" flags such as -Ox, while
>> other are not.  Getting a fully optimised build for a specific target
>> process is not a simple task.
> 
> No. Then perhaps what I used to do for years, which was just to use
> inline assembly for some critical piece of code, was also a reasonable
> approach.
> 
> It's not simple and it's not portable, but then it sounds like what you
> have to do isn't either.
> 
> But what /I/ call compiler optimisation is to take EXACTLY the same
> source code, and automatically generate code from it to make it run
> faster. It should not depend on extra annotations within the source code.

What you call compiler optimisation is largely irrelevant.  What 
developers who tune applications for their execution environment is more 
pertinent here, even though the two are the same in this case. 
Architecture optimisations do not require extra annotations within the 
source code.  Where did you conjure that up from?  You have a penchant 
for twisting a thread with things no one has mentioned and throwing a 
tantrum when we call you out.

For some idea what options are available, see

https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/x86-Options.html#x86-Options

-- 
Ian.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-15 10:38 +0200
  Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-15 02:31 -0700
  Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-15 13:42 +0100
    Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-15 18:00 +0100
      Re: stdcbench benchmark Melzzzzz <Melzzzzz@zzzzz.com> - 2018-04-15 18:11 +0000
        Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-15 19:30 +0100
          Re: stdcbench benchmark Melzzzzz <Melzzzzz@zzzzz.com> - 2018-04-15 18:52 +0000
        Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-15 20:15 -0700
  Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-15 20:42 +0100
    Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-15 22:31 +0200
      Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-15 23:29 +0100
        Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-16 07:48 +0200
          Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-15 23:22 -0700
          Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-16 11:52 +0200
        Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-16 09:56 +0200
          Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-16 01:58 -0700
        Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-16 10:08 +0200
          Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 11:37 +0100
            Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-16 22:42 +1200
            Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-16 12:54 +0200
              Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 13:02 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-16 14:39 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 14:53 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-16 16:32 +0200
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 14:41 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 15:56 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-16 17:21 +0200
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 15:43 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 17:00 +0100
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 16:09 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 17:22 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 09:35 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 11:42 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 14:14 +0200
                Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-17 15:49 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 18:45 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 23:00 +0200
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-17 21:18 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 23:20 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 09:27 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 11:30 +0100
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-18 03:43 -0700
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-18 22:58 +1200
                Re: stdcbench benchmark mark.bluemel@gmail.com - 2018-04-18 04:01 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 12:39 +0100
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-18 06:52 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 13:59 +0100
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 06:14 -0700
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-19 07:39 +1200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 06:14 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 16:31 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 08:00 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 17:26 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 08:37 -0700
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-18 16:12 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 18:15 +0100
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 04:01 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 13:01 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 04:15 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 13:41 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-18 05:35 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 12:26 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 13:58 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 22:29 +0100
                Re: stdcbench benchmark Keith Thompson <kst-u@mib.org> - 2018-04-18 10:34 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 22:34 +0200
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 22:35 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-19 20:05 +0100
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-20 08:07 +1200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-19 23:34 +0100
                Re: stdcbench benchmark Keith Thompson <kst-u@mib.org> - 2018-04-19 16:05 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 00:18 +0100
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-25 23:12 +0000
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-20 16:15 +1200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 11:39 +0100
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-20 23:46 +1200
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-20 05:04 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 13:27 +0100
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-20 06:06 -0700
                Re: stdcbench benchmark supercat@casperkitty.com - 2018-04-20 13:05 -0700
                Re: stdcbench benchmark mark.bluemel@gmail.com - 2018-04-20 01:23 -0700
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-20 01:40 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 12:04 +0100
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-20 04:16 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 13:48 +0100
                Re: stdcbench benchmark Tim Rentsch <txr@alumni.caltech.edu> - 2018-04-23 11:53 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-23 20:33 +0100
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-26 01:00 -0700
                Re: stdcbench benchmark Keith Thompson <kst-u@mib.org> - 2018-04-20 09:17 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 19:25 +0100
                Re: stdcbench benchmark Keith Thompson <kst-u@mib.org> - 2018-04-20 11:58 -0700
                Re: stdcbench benchmark supercat@casperkitty.com - 2018-04-20 12:30 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 21:03 +0100
                Re: stdcbench benchmark Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-04-20 22:16 +0100
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 23:09 +0100
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 14:42 +0100
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-20 09:30 -0700
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-21 07:24 +1200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 20:43 +0100
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-21 07:59 +1200
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-21 08:01 +1200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 21:18 +0100
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-21 09:17 +1200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-20 23:15 +0100
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 02:14 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 09:54 +0200
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-18 01:21 -0700
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 11:40 +0100
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-18 11:26 +1200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-18 01:48 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-18 09:58 +0200
                Re: stdcbench benchmark Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-04-16 16:45 +0000
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 17:31 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 18:53 +0100
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 17:55 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 19:01 +0100
                Re: stdcbench benchmark Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-04-16 20:28 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-16 21:57 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 09:45 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 12:24 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 14:31 +0200
                Re: stdcbench benchmark Robert Wessel <robertwessel2@yahoo.com> - 2018-04-16 16:59 -0500
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 01:02 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 09:47 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 13:16 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 14:38 +0200
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-17 13:18 +0000
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 14:37 +0100
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-17 06:44 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 15:58 +0200
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-17 15:43 +0000
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-17 08:47 -0700
                Re: stdcbench benchmark Ian Collins <ian-news@hotmail.com> - 2018-04-17 08:04 +1200
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 20:30 +0000
                Re: stdcbench benchmark Melzzzzz <Melzzzzz@zzzzz.com> - 2018-04-16 16:31 +0000
                Re: stdcbench benchmark Keith Thompson <kst-u@mib.org> - 2018-04-20 14:22 -0700
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-17 00:42 -0700
              Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-16 07:00 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-16 16:35 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-16 09:28 -0700
                Re: stdcbench benchmark scott@slp53.sl.home (Scott Lurndal) - 2018-04-16 17:42 +0000
                Re: stdcbench benchmark Robert Wessel <robertwessel2@yahoo.com> - 2018-04-16 17:07 -0500
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-17 02:50 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 12:42 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 11:58 +0100
                Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-17 14:01 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 13:40 +0100
                Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-17 15:41 +0200
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 14:46 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-17 06:09 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 16:07 +0200
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 14:43 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 15:26 +0100
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-17 07:42 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 16:51 +0200
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-17 08:07 -0700
                Re: stdcbench benchmark Steven Petruzzellis <frelwizzen@gmail.com> - 2018-04-17 08:16 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 23:17 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 17:12 +0100
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 23:26 +0200
                Re: stdcbench benchmark bartc <bc@freeuk.com> - 2018-04-17 23:38 +0100
                Re: stdcbench benchmark Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-04-17 05:52 -0700
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 16:10 +0200
                Re: stdcbench benchmark David Brown <david.brown@hesbynett.no> - 2018-04-17 10:02 +0200
    Re: stdcbench benchmark Philipp Klaus Krause <pkk@spth.de> - 2018-04-15 23:20 +0200

csiph-web