Rev 1104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1104 | Rev 1658 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | static void testit1(void *data) |
47 | static void testit1(void *data) |
48 | { |
48 | { |
49 | int i; |
49 | int i; |
50 | int arg __attribute__((aligned(16))) = (int)((__native) data); |
50 | int arg __attribute__((aligned(16))) = (int)((__native) data); |
51 | int after_arg __attribute__((aligned(16))); |
51 | int after_arg __attribute__((aligned(16))); |
- | 52 | ||
- | 53 | thread_detach(THREAD); |
|
52 | 54 | ||
53 | waitq_sleep(&can_start); |
55 | waitq_sleep(&can_start); |
54 | 56 | ||
55 | for (i = 0; i<ATTEMPTS; i++) { |
57 | for (i = 0; i<ATTEMPTS; i++) { |
56 | __asm__ volatile ( |
58 | __asm__ volatile ( |
Line 75... | Line 77... | ||
75 | static void testit2(void *data) |
77 | static void testit2(void *data) |
76 | { |
78 | { |
77 | int i; |
79 | int i; |
78 | int arg __attribute__((aligned(16))) = (int)((__native) data); |
80 | int arg __attribute__((aligned(16))) = (int)((__native) data); |
79 | int after_arg __attribute__((aligned(16))); |
81 | int after_arg __attribute__((aligned(16))); |
- | 82 | ||
- | 83 | thread_detach(THREAD); |
|
80 | 84 | ||
81 | waitq_sleep(&can_start); |
85 | waitq_sleep(&can_start); |
82 | 86 | ||
83 | for (i = 0; i<ATTEMPTS; i++) { |
87 | for (i = 0; i<ATTEMPTS; i++) { |
84 | __asm__ volatile ( |
88 | __asm__ volatile ( |