Replace a pre-UAL instruction with its modern form.
authorthakis <thakis@chromium.org>
Mon, 11 Aug 2014 16:52:32 +0000 (09:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 11 Aug 2014 16:52:32 +0000 (09:52 -0700)
See the notes in the Chromium bug, and http://llvm.org/20427

BUG=chromium:124610,skia:900
R=djsollen@google.com, mtklein@google.com

Author: thakis@chromium.org

Review URL: https://codereview.chromium.org/455903002

src/opts/memset16_neon.S

index b1719fa1fa4de15ca31ae98138e0243fcb18f5f2..7473a40061f68276617c3d53775f98d91e55668e 100644 (file)
@@ -15,6 +15,8 @@
 
 ***************************************************************************/
 
+        .syntax unified
+
         .code 32
         .fpu neon
         .align 4
@@ -70,7 +72,7 @@ memset_gt4:
         strcs           r1, [r0], #4
         strcs           r1, [r0], #4
         lsls            r12, r12, #2
-        strcsh          r1, [r0], #2
+        strhcs          r1, [r0], #2
 memset_route:
         /*
          * Decide where to route for the maximum copy sizes.  Note that we