diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 04:19:26 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 04:19:26 +0000 |
commit | 9da659cf4202fc0a88358359e23f4eac49b9bdf9 (patch) | |
tree | a6bdb5fdeb7ca8a8e7d0024ba9266dea102862da /media | |
parent | 2ec53b5e7018ed63499e0a4fab557f820b03fc53 (diff) | |
download | chromium_src-9da659cf4202fc0a88358359e23f4eac49b9bdf9.zip chromium_src-9da659cf4202fc0a88358359e23f4eac49b9bdf9.tar.gz chromium_src-9da659cf4202fc0a88358359e23f4eac49b9bdf9.tar.bz2 |
Fix an error reported by the clang assembler.
It would complain that an `and` is ambiguous and could mean one of andb, andw, andl, andq (because neither of the two operands has an intrinsic size). Also for 3 other instructions.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/3464006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/yuv_row_posix.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media/base/yuv_row_posix.cc b/media/base/yuv_row_posix.cc index 6c992f7..a66fa7b 100644 --- a/media/base/yuv_row_posix.cc +++ b/media/base/yuv_row_posix.cc @@ -552,10 +552,10 @@ extern void PICConvertYUVToRGB32Row(const uint8* y_buf, "movntq %mm1,0x0(%ebp)\n" "add $0x8,%ebp\n" ".Lconvertend:" - "sub $0x2,0x34(%esp)\n" + "subl $0x2,0x34(%esp)\n" "jns .Lconvertloop\n" - "and $0x1,0x34(%esp)\n" + "andl $0x1,0x34(%esp)\n" "je .Lconvertdone\n" "movzbl (%edi),%eax\n" @@ -633,10 +633,10 @@ extern void PICScaleYUVToRGB32Row(const uint8* y_buf, "movntq %mm1,0x0(%ebp)\n" "add $0x8,%ebp\n" "Lscaleend:" - "sub $0x2,0x34(%esp)\n" + "subl $0x2,0x34(%esp)\n" "jns Lscaleloop\n" - "and $0x1,0x34(%esp)\n" + "andl $0x1,0x34(%esp)\n" "je Lscaledone\n" "mov %ebx,%eax\n" |