summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/mapping0.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/mapping0.c')
-rw-r--r--apps/codecs/libtremor/mapping0.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs/libtremor/mapping0.c b/apps/codecs/libtremor/mapping0.c
index 9a9ec9e74c..c7e7299ccc 100644
--- a/apps/codecs/libtremor/mapping0.c
+++ b/apps/codecs/libtremor/mapping0.c
@@ -184,16 +184,17 @@ static vorbis_info_mapping *mapping0_unpack(vorbis_info *vi,oggpack_buffer *opb)
184 register int temp;\ 184 register int temp;\
185 asm( "cmp %[mag], #0\n\t"\ 185 asm( "cmp %[mag], #0\n\t"\
186 "cmpgt %[ang], #0\n\t"\ 186 "cmpgt %[ang], #0\n\t"\
187 "subgt %[temp], %[mag], %[ang]\n\t"\ 187 "subgt %[ang], %[mag], %[ang]\n\t"\
188 "bgt 1f\n\t"\ 188 "bgt 1f\n\t"\
189 "cmp %[mag], #0\n\t"\ 189 "cmp %[mag], #0\n\t"\
190 "cmple %[ang], #0\n\t"\ 190 "cmple %[ang], #0\n\t"\
191 "addgt %[temp], %[mag], %[ang]\n\t"\ 191 "addgt %[temp], %[mag], %[ang]\n\t"\
192 "suble %[temp], %[mag], %[ang]\n\t"\ 192 "suble %[temp], %[mag], %[ang]\n\t"\
193 "1: cmp %[ang], #0\n\t"\ 193 "cmp %[ang], #0\n\t"\
194 "movle %[ang], %[mag]\n\t"\ 194 "movle %[ang], %[mag]\n\t"\
195 "movle %[mag], %[temp]\n\t"\ 195 "movle %[mag], %[temp]\n\t"\
196 "movgt %[ang], %[temp]\n\t"\ 196 "movgt %[ang], %[temp]\n\t"\
197 "1:\n\t"\
197 : [mag] "+r" ( ( _mag ) ), [ang] "+r" ( ( _ang ) ), [temp] "=&r" (temp)\ 198 : [mag] "+r" ( ( _mag ) ), [ang] "+r" ( ( _ang ) ), [temp] "=&r" (temp)\
198 :\ 199 :\
199 : "cc" );\ 200 : "cc" );\