diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2010-03-16 04:47:24 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2010-03-16 04:47:24 +0000 |
commit | 70ac57b95b84aed377cd9105c39c7b1a6967139e (patch) | |
tree | da5269b46b5529a94bdc6049f5d92b89c003b79e | |
parent | a384cdf7e8e3e649b9fee401a2ff651a7f323b0a (diff) | |
download | rockbox-70ac57b95b84aed377cd9105c39c7b1a6967139e.tar.gz rockbox-70ac57b95b84aed377cd9105c39c7b1a6967139e.zip |
Change various CPU_ARM defines to _ARM_ASSEM_ to be more consistent with the rest of Tremor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25214 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codecs/libtremor/codebook.c | 6 | ||||
-rw-r--r-- | apps/codecs/libtremor/mapping0.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libtremor/codebook.c b/apps/codecs/libtremor/codebook.c index 8d34b6df03..ad817fc269 100644 --- a/apps/codecs/libtremor/codebook.c +++ b/apps/codecs/libtremor/codebook.c | |||
@@ -143,7 +143,7 @@ int vorbis_staticbook_unpack(oggpack_buffer *opb,static_codebook *s){ | |||
143 | static inline ogg_uint32_t bitreverse(register ogg_uint32_t x) | 143 | static inline ogg_uint32_t bitreverse(register ogg_uint32_t x) |
144 | { | 144 | { |
145 | unsigned tmp, ret; | 145 | unsigned tmp, ret; |
146 | #ifdef CPU_ARM | 146 | #ifdef _ARM_ASSEM_ |
147 | #if ARM_ARCH >= 6 | 147 | #if ARM_ARCH >= 6 |
148 | unsigned mask = 0x0f0f0f0f; | 148 | unsigned mask = 0x0f0f0f0f; |
149 | #else | 149 | #else |
@@ -191,7 +191,7 @@ static inline ogg_uint32_t bitreverse(register ogg_uint32_t x) | |||
191 | : /* inputs */ | 191 | : /* inputs */ |
192 | [x]"r"(x) | 192 | [x]"r"(x) |
193 | ); | 193 | ); |
194 | #else /* !CPU_ARM */ | 194 | #else /* !_ARM_ASSEM_ */ |
195 | 195 | ||
196 | #ifdef CPU_COLDFIRE | 196 | #ifdef CPU_COLDFIRE |
197 | ret = x; | 197 | ret = x; |
@@ -211,7 +211,7 @@ static inline ogg_uint32_t bitreverse(register ogg_uint32_t x) | |||
211 | tmp = ret & 0x55555555; | 211 | tmp = ret & 0x55555555; |
212 | ret ^= tmp; | 212 | ret ^= tmp; |
213 | ret = (ret >> 1) | (tmp << 1); /* done */ | 213 | ret = (ret >> 1) | (tmp << 1); /* done */ |
214 | #endif /* !CPU_ARM */ | 214 | #endif /* !_ARM_ASSEM_ */ |
215 | return ret; | 215 | return ret; |
216 | } | 216 | } |
217 | 217 | ||
diff --git a/apps/codecs/libtremor/mapping0.c b/apps/codecs/libtremor/mapping0.c index 13a8d75aef..9a9ec9e74c 100644 --- a/apps/codecs/libtremor/mapping0.c +++ b/apps/codecs/libtremor/mapping0.c | |||
@@ -178,7 +178,7 @@ static vorbis_info_mapping *mapping0_unpack(vorbis_info *vi,oggpack_buffer *opb) | |||
178 | return(NULL); | 178 | return(NULL); |
179 | } | 179 | } |
180 | 180 | ||
181 | #ifdef CPU_ARM | 181 | #ifdef _ARM_ASSEM_ |
182 | #define MAGANG( _mag, _ang )\ | 182 | #define MAGANG( _mag, _ang )\ |
183 | {\ | 183 | {\ |
184 | register int temp;\ | 184 | register int temp;\ |