]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR target/91481 (POWER9 "DARN" RNG intrinsic produces repeated output...
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 30 Aug 2019 14:23:55 +0000 (16:23 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 30 Aug 2019 14:23:55 +0000 (16:23 +0200)
commit7b382b64cb6f355f3fb501998d2e3f130f474613
tree5baad99125d9d2b1a5df7920d0bc7baa83d41462
parentd08d1afd311b0d17cb140e449026ba76a29c4417
backport: re PR target/91481 (POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847))

Backport from trunk
2019-08-22  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/91481
* config/rs6000/rs6000.md (unspec): Delete UNSPEC_DARN, UNSPEC_DARN_32,
and UNSPEC_DARN_RAW.
(unspecv): New enumerator values UNSPECV_DARN, UNSPECV_DARN_32, and
UNSPECV_DARN_RAW.
(darn_32): Use an unspec_volatile, and UNSPECV_DARN_32.
(darn_raw): Use an unspec_volatile, and UNSPECV_DARN_RAW.
(darn): Use an unspec_volatile, and UNSPECV_DARN.

From-SVN: r275185
gcc/ChangeLog
gcc/config/rs6000/rs6000.md