x86: Strip whitespace in check_VecOperations
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Mar 2018 11:51:19 +0000 (03:51 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Mar 2018 11:51:31 +0000 (03:51 -0800)
commit0ba3a73180afa69e6920ba8c220f0323cb4fb896
tree02c9a562a16f1dc3d742c83a9e09e92de02e8139
parent5dc1a7047a77f86de7518a99805af64891d4e22a
x86: Strip whitespace in check_VecOperations

Since the addition of pseudo prefixes changed how the scrubber treats
'{', we need to explicitly strip whitespace in check_VecOperations ().

* config/tc-i386.c (check_VecOperations): Strip whitespace.
* testsuite/gas/i386/optimize-1.s: Add whitespaces before
{%k7} and {z},
* testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/optimize-1.s
gas/testsuite/gas/i386/x86-64-optimize-2.s