Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1215)

Unified Diff: transform_asm.sh

Issue 159803003: Convert ARM optimizations to GNU syntax (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« celt/arm/arm2gnu.pl ('K') | « celt/arm/celt_pitch_xcorr_arm_gnu.S ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: transform_asm.sh
diff --git a/transform_asm.sh b/transform_asm.sh
new file mode 100755
index 0000000000000000000000000000000000000000..a5309dad8c2bb238b54c84680d498f26493b069d
--- /dev/null
+++ b/transform_asm.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This is to transfer the assembly codes used for Opus optimization on ARM
+# platforms, into the GNU format.
+
+SRC_DIR='celt/arm/'
+DST_DIR='celt/arm/'
+sed 's/@[A-Z,_]*@/1/g' ${SRC_DIR}armopts.s.in | perl ${SRC_DIR}arm2gnu.pl > ${DST_DIR}armopts_gnu.S
+perl ${SRC_DIR}arm2gnu.pl ${SRC_DIR}celt_pitch_xcorr_arm.s | sed 's/celt\/arm\/armopts.s/armopts_gnu.S/g' > ${DST_DIR}celt_pitch_xcorr_arm_gnu.S
« celt/arm/arm2gnu.pl ('K') | « celt/arm/celt_pitch_xcorr_arm_gnu.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698