|
Jakub Jelinek |
858859 |
--- valgrind/helgrind/tests/tc07_hbl1.c.jj 2010-11-11 17:58:01.000000000 +0100
|
|
Jakub Jelinek |
858859 |
+++ valgrind/helgrind/tests/tc07_hbl1.c 2010-11-12 17:46:11.144455060 +0100
|
|
Jakub Jelinek |
858859 |
@@ -48,23 +48,23 @@
|
|
Jakub Jelinek |
858859 |
|| defined(PLAT_ppc32_aix5) || defined(PLAT_ppc64_aix5)
|
|
Jakub Jelinek |
858859 |
# define INC(_lval,_lqual) \
|
|
Jakub Jelinek |
858859 |
__asm__ __volatile__( \
|
|
Jakub Jelinek |
858859 |
- "L1xyzzy1" _lqual ":\n" \
|
|
Jakub Jelinek |
858859 |
+ "1:\n" \
|
|
Jakub Jelinek |
858859 |
" lwarx 15,0,%0\n" \
|
|
Jakub Jelinek |
858859 |
" addi 15,15,1\n" \
|
|
Jakub Jelinek |
858859 |
" stwcx. 15,0,%0\n" \
|
|
Jakub Jelinek |
858859 |
- " bne- L1xyzzy1" _lqual \
|
|
Jakub Jelinek |
858859 |
+ " bne- 1b\n" \
|
|
Jakub Jelinek |
858859 |
: /*out*/ : /*in*/ "b"(&(_lval)) \
|
|
Jakub Jelinek |
858859 |
: /*trash*/ "r15", "cr0", "memory" \
|
|
Jakub Jelinek |
858859 |
)
|
|
Jakub Jelinek |
858859 |
#elif defined(PLAT_arm_linux)
|
|
Jakub Jelinek |
858859 |
# define INC(_lval,_lqual) \
|
|
Jakub Jelinek |
858859 |
__asm__ __volatile__( \
|
|
Jakub Jelinek |
858859 |
- "L1xyzzy1" _lqual ":\n" \
|
|
Jakub Jelinek |
858859 |
+ "1:\n" \
|
|
Jakub Jelinek |
858859 |
" ldrex r8, [%0, #0]\n" \
|
|
Jakub Jelinek |
858859 |
" add r8, r8, #1\n" \
|
|
Jakub Jelinek |
858859 |
" strex r9, r8, [%0, #0]\n" \
|
|
Jakub Jelinek |
858859 |
" cmp r9, #0\n" \
|
|
Jakub Jelinek |
858859 |
- " bne L1xyzzy1" _lqual \
|
|
Jakub Jelinek |
858859 |
+ " bne 1b\n" \
|
|
Jakub Jelinek |
858859 |
: /*out*/ : /*in*/ "r"(&(_lval)) \
|
|
Jakub Jelinek |
858859 |
: /*trash*/ "r8", "r9", "cc", "memory" \
|
|
Jakub Jelinek |
858859 |
);
|
|
Jakub Jelinek |
858859 |
--- valgrind/helgrind/tests/tc08_hbl2.c.jj 2010-11-11 17:58:01.000000000 +0100
|
|
Jakub Jelinek |
858859 |
+++ valgrind/helgrind/tests/tc08_hbl2.c 2010-11-12 17:47:05.295830288 +0100
|
|
Jakub Jelinek |
858859 |
@@ -65,23 +65,23 @@
|
|
Jakub Jelinek |
858859 |
|| defined(PLAT_ppc32_aix5) || defined(PLAT_ppc64_aix5)
|
|
Jakub Jelinek |
858859 |
# define INC(_lval,_lqual) \
|
|
Jakub Jelinek |
858859 |
__asm__ __volatile__( \
|
|
Jakub Jelinek |
858859 |
- "L1xyzzy1" _lqual ":\n" \
|
|
Jakub Jelinek |
858859 |
+ "1:\n" \
|
|
Jakub Jelinek |
858859 |
" lwarx 15,0,%0\n" \
|
|
Jakub Jelinek |
858859 |
" addi 15,15,1\n" \
|
|
Jakub Jelinek |
858859 |
" stwcx. 15,0,%0\n" \
|
|
Jakub Jelinek |
858859 |
- " bne- L1xyzzy1" _lqual \
|
|
Jakub Jelinek |
858859 |
+ " bne- 1b\n" \
|
|
Jakub Jelinek |
858859 |
: /*out*/ : /*in*/ "b"(&(_lval)) \
|
|
Jakub Jelinek |
858859 |
: /*trash*/ "r15", "cr0", "memory" \
|
|
Jakub Jelinek |
858859 |
)
|
|
Jakub Jelinek |
858859 |
#elif defined(PLAT_arm_linux)
|
|
Jakub Jelinek |
858859 |
# define INC(_lval,_lqual) \
|
|
Jakub Jelinek |
858859 |
__asm__ __volatile__( \
|
|
Jakub Jelinek |
858859 |
- "L1xyzzy1" _lqual ":\n" \
|
|
Jakub Jelinek |
858859 |
+ "1:\n" \
|
|
Jakub Jelinek |
858859 |
" ldrex r8, [%0, #0]\n" \
|
|
Jakub Jelinek |
858859 |
" add r8, r8, #1\n" \
|
|
Jakub Jelinek |
858859 |
" strex r9, r8, [%0, #0]\n" \
|
|
Jakub Jelinek |
858859 |
" cmp r9, #0\n" \
|
|
Jakub Jelinek |
858859 |
- " bne L1xyzzy1" _lqual \
|
|
Jakub Jelinek |
858859 |
+ " bne 1b\n" \
|
|
Jakub Jelinek |
858859 |
: /*out*/ : /*in*/ "r"(&(_lval)) \
|
|
Jakub Jelinek |
858859 |
: /*trash*/ "r8", "r9", "cc", "memory" \
|
|
Jakub Jelinek |
858859 |
);
|