[xiph-cvs] cvs commit: speex/libspeex fixed_arm.h

Jean-Marc Valin jm at xiph.org
Tue Dec 23 22:14:14 PST 2003



jm          03/12/24 01:14:14

  Modified:    libspeex fixed_arm.h
  Log:
  removed unnecessary 'volatile' keyword

Revision  Changes    Path
1.3       +6 -6      speex/libspeex/fixed_arm.h

Index: fixed_arm.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/fixed_arm.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fixed_arm.h	30 Nov 2003 05:46:03 -0000	1.2
+++ fixed_arm.h	24 Dec 2003 06:14:13 -0000	1.3
@@ -54,7 +54,7 @@
 
 static inline spx_word32_t MULT16_16(spx_word16_t x, spx_word16_t y) {
   int res;
-  asm volatile("smulbb  %0,%1,%2;\n"
+  asm ("smulbb  %0,%1,%2;\n"
               : "=&r"(res)
               : "%r"(x),"r"(y));
   return(res);
@@ -62,7 +62,7 @@
 
 static inline spx_word32_t MAC16_16(spx_word32_t a, spx_word16_t x, spx_word32_t y) {
   int res;
-  asm volatile("smlabb  %0,%1,%2,%3;\n"
+  asm ("smlabb  %0,%1,%2,%3;\n"
               : "=&r"(res)
                : "%r"(x),"r"(y),"r"(a));
   return(res);
@@ -74,28 +74,28 @@
 
 static inline spx_word32_t MULT16_32_Q15(spx_word16_t x, spx_word32_t y) {
   int res;
-  asm volatile("smulwb  %0,%1,%2;\n"
+  asm ("smulwb  %0,%1,%2;\n"
               : "=&r"(res)
                : "%r"(y<<1),"r"(x));
   return(res);
 }
 static inline spx_word32_t MAC16_32_Q15(spx_word32_t a, spx_word16_t x, spx_word32_t y) {
   int res;
-  asm volatile("smlawb  %0,%1,%2,%3;\n"
+  asm ("smlawb  %0,%1,%2,%3;\n"
               : "=&r"(res)
                : "%r"(y<<1),"r"(x),"r"(a));
   return(res);
 }
 static inline spx_word32_t MULT16_32_Q11(spx_word16_t x, spx_word32_t y) {
   int res;
-  asm volatile("smulwb  %0,%1,%2;\n"
+  asm ("smulwb  %0,%1,%2;\n"
               : "=&r"(res)
                : "%r"(y<<5),"r"(x));
   return(res);
 }
 static inline spx_word32_t MAC16_32_Q11(spx_word32_t a, spx_word16_t x, spx_word32_t y) {
   int res;
-  asm volatile("smlawb  %0,%1,%2,%3;\n"
+  asm ("smlawb  %0,%1,%2,%3;\n"
               : "=&r"(res)
                : "%r"(y<<5),"r"(x),"r"(a));
   return(res);

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list