ymm registers are not suffixed with w.

This imports a fix to x86gas.pl from upstream's
a98c648e40ea5158c8ba29b5a70ccc239d426a20. It's needed to get poly1305-x86.pl
working.

Confirmed that this is a no-op for our current assembly files.

Change-Id: I28de1dbf421b29a06147d1aea3ff3659372a78b3
Reviewed-on: https://boringssl-review.googlesource.com/7210
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2016-02-23 16:43:54 -05:00 committed by Adam Langley
parent a3d9528e9e
commit 030d08513e

View File

@ -17,7 +17,7 @@ sub opsize()
{ my $reg=shift; { my $reg=shift;
if ($reg =~ m/^%e/o) { "l"; } if ($reg =~ m/^%e/o) { "l"; }
elsif ($reg =~ m/^%[a-d][hl]$/o) { "b"; } elsif ($reg =~ m/^%[a-d][hl]$/o) { "b"; }
elsif ($reg =~ m/^%[xm]/o) { undef; } elsif ($reg =~ m/^%[yxm]/o) { undef; }
else { "w"; } else { "w"; }
} }