OSDN Git Service

Remove clobber registers conflicting with input variables.
authorNicolas Capens <capn@google.com>
Fri, 10 Mar 2017 13:40:06 +0000 (08:40 -0500)
committerNicolas Capens <capn@google.com>
Fri, 10 Mar 2017 15:06:20 +0000 (15:06 +0000)
commit2d03c8d2596a2281af20042eda4fd11083a30ab8
treea9e5969d25f6cfd15e04d8a1b4b87434e807183e
parent39a7bed1f95043c24ae868ef0f4ffeac903ee411
Remove clobber registers conflicting with input variables.

https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Clobbers specifies
that the clobber list should not overlap with the input or output.

Change-Id: I77fc2bfc6209ed325355193758f00fc171c8aebf
Reviewed-on: https://swiftshader-review.googlesource.com/8930
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
src/Common/Memory.cpp