forked from len0rd/rockbox
codeclib: there is no need to limit the outputs of the coldfire X(N)PROD_R macros to data registers, no significant speed diff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28656 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
72b4c4ff3b
commit
ff9e1861b3
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ void XNPROD31(int32_t a, int32_t b,
|
||||||
"msac.l %[a], %[v], %%acc1;" \
|
"msac.l %[a], %[v], %%acc1;" \
|
||||||
"movclr.l %%acc0, %[x];" \
|
"movclr.l %%acc0, %[x];" \
|
||||||
"movclr.l %%acc1, %[y];" \
|
"movclr.l %%acc1, %[y];" \
|
||||||
: [x] "=d" (_x), [y] "=d" (_y) \
|
: [x] "=r" (_x), [y] "=r" (_y) \
|
||||||
: [a] "r" (_a), [b] "r" (_b), \
|
: [a] "r" (_a), [b] "r" (_b), \
|
||||||
[t] "r" (_t), [v] "r" (_v) \
|
[t] "r" (_t), [v] "r" (_v) \
|
||||||
: "cc");
|
: "cc");
|
||||||
|
@ -141,7 +141,7 @@ void XNPROD31(int32_t a, int32_t b,
|
||||||
"mac.l %[a], %[v], %%acc1;" \
|
"mac.l %[a], %[v], %%acc1;" \
|
||||||
"movclr.l %%acc0, %[x];" \
|
"movclr.l %%acc0, %[x];" \
|
||||||
"movclr.l %%acc1, %[y];" \
|
"movclr.l %%acc1, %[y];" \
|
||||||
: [x] "=d" (_x), [y] "=d" (_y) \
|
: [x] "=r" (_x), [y] "=r" (_y) \
|
||||||
: [a] "r" (_a), [b] "r" (_b), \
|
: [a] "r" (_a), [b] "r" (_b), \
|
||||||
[t] "r" (_t), [v] "r" (_v) \
|
[t] "r" (_t), [v] "r" (_v) \
|
||||||
: "cc");
|
: "cc");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue