Peter wrote:
> > # ./xz < /dev/zero > /dev/null
> > Illegal instruction (core dumped)
>
>
> > CPU: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz (3059.08-MHz K8-class
> > CPU)
> > Origin="GenuineIntel" Id=0x2065
On Thu, Feb 23, 2023 at 02:22:01PM +, Jamie Landeg-Jones wrote:
! Peter wrote:
!
! > > # ./xz < /dev/zero > /dev/null
! > > Illegal instruction (core dumped)
! >
! > > CPU: Intel(R) Core(TM) i3 CPU 540
Peter wrote:
> -target-cpu westmere
>
> But when building with CPTYPE?=native, the code works!
That's weird!
I notice the only difference between those 2 is that the "native" one
specifically sets (-target-feature +...) or unsets (-target-feature -...)
the features to use.
Presumably there is
On Thu, Feb 23, 2023 at 10:14:13PM +, Jamie Landeg-Jones wrote:
! Peter wrote:
!
! > -target-cpu westmere
! >
! > But when building with CPTYPE?=native, the code works!
!
! That's weird!
Ah. Hm...
! I notice the only difference between those 2 is that the "native" one
! specifically sets