Snapshot gcc-12-20230526 is now available on
https://gcc.gnu.org/pub/gcc/snapshots/12-20230526/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 12 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch
On 26/05/2023 17:49, Stefan Kanthak wrote:
I don't like to argue with idiots: they beat me with experience!
Stefan
Stefan, you are clearly not happy about the /free/ compiler you are
using, and its /free/ documentation (which, despite its flaws, is better
than I have seen for most other co
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 15:34, Stefan Kanthak wrote:
>>
>> "Jonathan Wakely" wrote:
>>
>> > On Fri, 26 May 2023 at 14:55, Stefan Kanthak
>> > wrote:
>>
>> [...]
>>
>> >> NOT obvious is but that -m -march= does not clear any
>> >> not supported in , i.e the last one
You wrote:
>在 2023-05-26 14:46, Stefan Kanthak 写道:
>> OOPS: why does GCC (ab)use the SSE2 alias "Willamette New Instruction Set"
>> (... ...)
>> OUCH: why does it FAIL to REALLY use SSE2, as shown in the comments on the
>>right side?
>
> Please stop yelling like that. It makes you look lik
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 15:48, Stefan Kanthak wrote:
>>
>> "Jakub Jelinek" wrote:
>>
>> [...]
>>
>> > And for -m32 it is also the last option that wins, but as with
>> > many other cases just last one from certain set of options. [...]
>> > The -mISA options are proces
在 2023-05-26 14:46, Stefan Kanthak 写道:
OOPS: why does GCC (ab)use the SSE2 alias "Willamette New Instruction Set"
(... ...)
OUCH: why does it FAIL to REALLY use SSE2, as shown in the comments on the
right side?
Please stop yelling like that. It makes you look like a naughty pupil.
14
On Fri, 26 May 2023 at 15:34, Stefan Kanthak wrote:
>
> "Jonathan Wakely" wrote:
>
> > On Fri, 26 May 2023 at 14:55, Stefan Kanthak
> > wrote:
>
> [...]
>
> >> NOT obvious is but that -m -march= does not clear any
> >> not supported in , i.e the last one does NOT win here.
> >
> > The last -ma
On Fri, 26 May 2023 at 15:48, Stefan Kanthak wrote:
>
> "Jakub Jelinek" wrote:
>
> [...]
>
> > And for -m32 it is also the last option that wins, but as with
> > many other cases just last one from certain set of options. [...]
> > The -mISA options are processed left to right after
>
> as well a
"Jakub Jelinek" wrote:
[...]
> And for -m32 it is also the last option that wins, but as with
> many other cases just last one from certain set of options. [...]
> The -mISA options are processed left to right after
as well as BEFORE
> setting base from -march=.
In other words: although -marc
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 14:55, Stefan Kanthak wrote:
[...]
>> NOT obvious is but that -m -march= does not clear any
>> not supported in , i.e the last one does NOT win here.
>
> The last -march option selects the base set of instructions. The -mISA
> options modify
On Fri, May 26, 2023 at 03:07:59PM +0100, Jonathan Wakely wrote:
> > These points are obvious.
> > NOT obvious is but that -m -march= does not clear any
> > not supported in , i.e the last one does NOT win here.
>
> The last -march option selects the base set of instructions. The -mISA
> options
On Fri, 26 May 2023 at 14:55, Stefan Kanthak wrote:
>
> "Jakub Jelinek" wrote:
>
> > On Fri, May 26, 2023 at 02:19:54PM +0200, Stefan Kanthak wrote:
> >> > I find it very SURPRISING that you're only just learning the basics of
> >> > how to use gcc NOW, after YELLING about all the OUCH.
> >>
> >>
"Jakub Jelinek" wrote:
> On Fri, May 26, 2023 at 02:19:54PM +0200, Stefan Kanthak wrote:
>> > I find it very SURPRISING that you're only just learning the basics of
>> > how to use gcc NOW, after YELLING about all the OUCH.
>>
>> I'm NOT surprised that you don't grok it!
>>
>> gcc -msse4.1 -m32
On 5/26/23 08:42, Stefan Kanthak wrote:
I could have added PROPERLY, because that's where it CLEARLY fails, as
shown by the generated unoptimised code.
From what I've seen so far, I find your arguments unconvincing.
In this thread alone, you've proven that you don't know how to properly
cont
Stefan,
On Fri, 2023-05-26 at 14:22 +0200, Stefan Kanthak wrote:
> "Jonathan Wakely" wrote:
> > And when did you report it to bugzilla?
> >
> > Nobody reads your silly webpage.
>
> Thanks stupid. I don't read your silly bugzilla!
Stop calling people stupid or dumbass.
People are trying to hel
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 13:23, Stefan Kanthak wrote:
>>
>> "Jonathan Wakely" wrote:
>>
>> > On Fri, 26 May 2023 at 12:42, Stefan Kanthak wrote:
>> >> Why does the documentation FAIL to specify that CPU features given by
>> >> -m* override -m32 or enables them in ADDITI
On Fri, May 26, 2023 at 02:19:54PM +0200, Stefan Kanthak wrote:
> > I find it very SURPRISING that you're only just learning the basics of
> > how to use gcc NOW, after YELLING about all the OUCH.
>
> I'm NOT surprised that you don't grok it!
>
> gcc -msse4.1 -m32 -march=core2 ...
>
> Which -m*
On Fri, 26 May 2023 at 13:23, Stefan Kanthak wrote:
>
> "Jonathan Wakely" wrote:
>
> > On Fri, 26 May 2023 at 12:42, Stefan Kanthak wrote:
> >> Why does the documentation FAIL to specify that CPU features given by
> >> -m* override -m32 or enables them in ADDITION to those enabled by -march=?
> >
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 13:09, Stefan Kanthak wrote:
>>
>> "Jonathan Wakely" wrote:
>>
>> > On Fri, 26 May 2023 at 12:29, Stefan Kanthak
>> > wrote:
>> >> OUCH: as shown in https://godbolt.org/z/b43cjGdY9 -m32 ALONE but
>> >> generates SSE2 instructions which D
On Fri, 26 May 2023 at 13:09, Stefan Kanthak wrote:
>
> "Jonathan Wakely" wrote:
>
> > On Fri, 26 May 2023 at 12:29, Stefan Kanthak
> > wrote:
> >>
> >> "Jakub Jelinek" wrote:
> >> > If you aren't able to read the documentation, it is hard to argue.
> >>
> >> When the documentation is wrong or
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 12:42, Stefan Kanthak wrote:
>> Why does the documentation FAIL to specify that CPU features given by
>> -m* override -m32 or enables them in ADDITION to those enabled by -march=?
>
> Because it's obvious. If you ask for sse2 you get it.
ARGH!
On Fri, 26 May 2023 at 13:09, Stefan Kanthak wrote:
>
> "Jonathan Wakely" wrote:
>
> > On Fri, 26 May 2023 at 12:29, Stefan Kanthak
> > wrote:
> >> OUCH: as shown in https://godbolt.org/z/b43cjGdY9 -m32 ALONE but
> >> generates SSE2 instructions which DONT run on ANY i386 system!
> >
> >
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 12:29, Stefan Kanthak wrote:
>>
>> "Jakub Jelinek" wrote:
>>
>> > On Fri, May 26, 2023 at 10:59:03AM +0200, Stefan Kanthak wrote:
>> >> 3) SSE4.1 is supported since Core2, but -march=core2 fails to enable it.
>> >>That's bad, REALITY CHECK,
On Fri, 26 May 2023 at 12:42, Stefan Kanthak wrote:
> Why does the documentation FAIL to specify that CPU features given by
> -m* override -m32 or enables them in ADDITION to those enabled by -march=?
Because it's obvious. If you ask for sse2 you get it.
I find it very SURPRISING that you're onl
On Fri, 26 May 2023 at 12:29, Stefan Kanthak wrote:
>
> "Jakub Jelinek" wrote:
>
> > On Fri, May 26, 2023 at 10:59:03AM +0200, Stefan Kanthak wrote:
> >> 3) SSE4.1 is supported since Core2, but -march=core2 fails to enable it.
> >>That's bad, REALITY CHECK, please!
> >
> > You're wrong.
> > S
"Jakub Jelinek" wrote:
> On Fri, May 26, 2023 at 10:59:03AM +0200, Stefan Kanthak wrote:
>> 3) SSE4.1 is supported since Core2, but -march=core2 fails to enable it.
>>That's bad, REALITY CHECK, please!
>
> You're wrong.
> SSE4.1 first appeared in the 45nm versions of Core2, the 65nm versions
On 5/26/23 02:46, Stefan Kanthak wrote:
Hi,
compile the following function on a system with Core2 processor
(released January 2008) for the 32-bit execution environment:
--- demo.c ---
int ispowerof2(unsigned long long argument)
{
return (argument & argument - 1) == 0;
}
--- EOF ---
GCC
"Jakub Jelinek" wrote:
> On Fri, May 26, 2023 at 10:59:03AM +0200, Stefan Kanthak wrote:
>> 3) SSE4.1 is supported since Core2, but -march=core2 fails to enable it.
>>That's bad, REALITY CHECK, please!
>
> You're wrong.
> SSE4.1 first appeared in the 45nm versions of Core2, the 65nm versions
On Fri, 26 May 2023 at 10:31, Hagen Paul Pfeifer wrote:
>
> * Jonathan Wakely via Gcc | 2023-05-26 08:30:06 [+0100]:
>
> >On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
> >
> >> > GCC 13.3: gcc -m32 -O3 demo.c
> >> >
> >> > NOTE: -mtune=native is the default!
> >>
> >> You need to use -m
On Fri, 26 May 2023 at 10:06, Stefan Kanthak wrote:
>
> "Jonathan Wakely" wrote:
>
> > On Fri, 26 May 2023 at 09:00, Stefan Kanthak
> > wrote:
> >>
> >> "Jonathan Wakely" wrote:
> >>
> >> > On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc,
> >> > wrote:
> >> >
> >> >> On Thu, May 25, 2023 at
On Fri, May 26, 2023 at 10:59:03AM +0200, Stefan Kanthak wrote:
> 3) SSE4.1 is supported since Core2, but -march=core2 fails to enable it.
>That's bad, REALITY CHECK, please!
You're wrong.
SSE4.1 first appeared in the 45nm versions of Core2, the 65nm versions
didn't have it.
The supported CPU
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023 at 09:00, Stefan Kanthak wrote:
>>
>> "Jonathan Wakely" wrote:
>>
>> > On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
>> >
>> >> On Thu, May 25, 2023 at 11:56?PM Stefan Kanthak
>> >> wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> compile the fo
On Fri, 26 May 2023 at 09:00, Stefan Kanthak wrote:
>
> "Jonathan Wakely" wrote:
>
> > On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
> >
> >> On Thu, May 25, 2023 at 11:56?PM Stefan Kanthak
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> compile the following function on a system with Core2
"Stefan Kanthak" writes:
> "Jonathan Wakely" wrote:
>
>> On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
>>
>>> On Thu, May 25, 2023 at 11:56?PM Stefan Kanthak
>>> wrote:
Hi,
compile the following function on a system with Core2 processor
(released January 20
* Jonathan Wakely via Gcc | 2023-05-26 08:30:06 [+0100]:
>On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
>
>> > GCC 13.3: gcc -m32 -O3 demo.c
>> >
>> > NOTE: -mtune=native is the default!
>>
>> You need to use -march=native and not -mtune=native to turn on
>> the architecture featu
"Jonathan Wakely" wrote:
> On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
>
>> On Thu, May 25, 2023 at 11:56?PM Stefan Kanthak
>> wrote:
>>>
>>> Hi,
>>>
>>> compile the following function on a system with Core2 processor
>>> (released January 2008) for the 32-bit execution environment
On Fri, 26 May 2023, 08:01 Andrew Pinski via Gcc, wrote:
> On Thu, May 25, 2023 at 11:56 PM Stefan Kanthak
> wrote:
> >
> > Hi,
> >
> > compile the following function on a system with Core2 processor
> > (released January 2008) for the 32-bit execution environment:
> >
> > --- demo.c ---
> > int
On Thu, May 25, 2023 at 11:56 PM Stefan Kanthak wrote:
>
> Hi,
>
> compile the following function on a system with Core2 processor
> (released January 2008) for the 32-bit execution environment:
>
> --- demo.c ---
> int ispowerof2(unsigned long long argument)
> {
> return (argument & argument
38 matches
Mail list logo