Fixed MPI assembly for ARM when -O2 is used

GCC with -O2 or higher also needs to now about 'cc' in the clobber list.
This commit is contained in:
Paul Bakker 2013-04-11 17:13:22 +02:00
parent 0ecdb23eed
commit eff2e6d414
2 changed files with 5 additions and 2 deletions

View file

@ -606,7 +606,7 @@
: "=m" (c), "=m" (d), "=m" (s) \
: "m" (s), "m" (d), "m" (c), "m" (b) \
: "r0", "r1", "r2", "r3", "r4", "r5", \
"r6", "r7", "r8", "r9" \
"r6", "r7", "r8", "r9", "cc" \
);
#else
@ -640,7 +640,7 @@
: "=m" (c), "=m" (d), "=m" (s) \
: "m" (s), "m" (d), "m" (c), "m" (b) \
: "r0", "r1", "r2", "r3", "r4", "r5", \
"r6", "r7" \
"r6", "r7", "cc" \
);
#endif /* Thumb */