]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.7] runtime: fix SIGILL in checkvectorfacility on s390x
authorMichael Munday <munday@ca.ibm.com>
Thu, 8 Sep 2016 23:27:24 +0000 (19:27 -0400)
committerChris Broadfoot <cbro@golang.org>
Mon, 17 Oct 2016 20:24:42 +0000 (20:24 +0000)
commit230c3918a8ae8a65e1974659e55f8a808fe731b5
tree5f87d34605b6af24630d5a729136d2da66223538
parentb67902fee7b56dd3235b2f489550c279248bacb9
[release-branch.go1.7] runtime: fix SIGILL in checkvectorfacility on s390x

STFLE does not necessarily write to all the double-words that are
requested. It is therefore necessary to clear the target memory
before calling STFLE in order to ensure that the facility list does
not contain false positives.

Fixes #17032.

Change-Id: I7bec9ade7103e747b72f08562fe57e6f091bd89f
Reviewed-on: https://go-review.googlesource.com/28850
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-on: https://go-review.googlesource.com/31267
Reviewed-by: Michael Munday <munday@ca.ibm.com>
src/runtime/asm_s390x.s