Re: rdrand generated with march=winchip-c6 in systemd-241

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 7, 2019 at 10:55 AM Jeffrey Walton <noloader@xxxxxxxxx> wrote:
>
> As far as I know the instruction is only defined for Intel, AMD and
> Hyogen cpus. See, for example,
> https://github.com/weidai11/cryptopp/blob/master/cpu.cpp#L380.
>

Jeff,
  I think you missed my point. The rdrand instruction is _not_
supported on this old hardware at all. The code should detect that and
avoid using it.

So the problem is that cpuid is either 1) incorrectly reporting that
it is supported or 2) the cpuid detection code is wrong.

- Matthew



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux