intel/compiler: grf127 can not be dest when src and dest overlap in send
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Mon, 26 Mar 2018 12:59:46 +0000 (14:59 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Mon, 9 Jul 2018 22:14:49 +0000 (00:14 +0200)
commit0e47ecb29acf8bdd213236d7306c47f8ec0e937f
treee8a08c93ffbef35f29c48b63c701443edf8b0403
parent6f3aee40f90d725653b671d652d8f0c841ccd2a9
intel/compiler: grf127 can not be dest when src and dest overlap in send

Implement at brw_eu_validate the restriction from Intel Broadwell PRM,
vol 07, section "Instruction Set Reference", subsection "EUISA
Instructions", Send Message (page 990):

"r127 must not be used for return address when there is a src and
dest overlap in send instruction."

v2: Style fixes (Matt Turner)

Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: 18.1 <mesa-stable@lists.freedesktop.org>
src/intel/compiler/brw_eu_validate.c