glibc/sysdeps/x86/bits
Adhemerval Zanella e3e3eb0a2e x86: Fix tst-cpu-features-cpuinfo on Ryzen 9 (BZ #27873)
AMD define different flags for IRPB, IBRS, and STIPBP [1], so new
x86_64_cpu are added and IBRS_IBPB is only tested for Intel.

The SSDB is also defined and implemented different on AMD [2],
and also a new AMD_SSDB flag is added.  It should map to the
cpuinfo 'ssdb' on recent AMD cpus.

It fixes tst-cpu-features-cpuinfo and tst-cpu-features-cpuinfo-static
on recent AMD cpus.

Checked on x86_64-linux-gnu on AMD Ryzen 9 5900X.

[1] https://developer.amd.com/wp-content/resources/Architecture_Guidelines_Update_Indirect_Branch_Control.pdf
[2] https://bugzilla.kernel.org/show_bug.cgi?id=199889

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2021-06-24 09:57:46 -03:00
..
platform x86: Fix tst-cpu-features-cpuinfo on Ryzen 9 (BZ #27873) 2021-06-24 09:57:46 -03:00
endianness.h Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
floatn.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
flt-eval-method.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fp-logb.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
indirect-return.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
link.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setjmp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordsize.h Define wordsize.h macros everywhere 2016-11-04 09:37:44 -07:00