Changeset 228666c in mainline for kernel/test/fpu
- Timestamp:
- 2010-02-20T18:41:53Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b03a666
- Parents:
- bc9da2a
- Location:
- kernel/test/fpu
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/fpu/fpu1_ia64.c
rbc9da2a r228666c 128 128 char *test_fpu1(void) 129 129 { 130 unsigned int i, total = 0; 130 unsigned int i; 131 atomic_count_t total = 0; 131 132 132 133 waitq_initialize(&can_start); … … 159 160 waitq_wakeup(&can_start, WAKEUP_ALL); 160 161 161 while (atomic_get(&threads_ok) != (long)total) {162 while (atomic_get(&threads_ok) != total) { 162 163 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok)); 163 164 thread_sleep(1); -
kernel/test/fpu/fpu1_x86.c
rbc9da2a r228666c 125 125 char *test_fpu1(void) 126 126 { 127 unsigned int i, total = 0; 127 unsigned int i; 128 atomic_count_t total = 0; 128 129 129 130 waitq_initialize(&can_start); … … 156 157 waitq_wakeup(&can_start, WAKEUP_ALL); 157 158 158 while (atomic_get(&threads_ok) != (long)total) {159 while (atomic_get(&threads_ok) != total) { 159 160 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok)); 160 161 thread_sleep(1); -
kernel/test/fpu/mips2.c
rbc9da2a r228666c 111 111 char *test_mips2(void) 112 112 { 113 unsigned int i, total = 0; 113 unsigned int i; 114 atomic_count_t total = 0; 114 115 115 116 waitq_initialize(&can_start); … … 138 139 139 140 TPRINTF("ok\n"); 140 141 141 142 thread_sleep(1); 142 143 waitq_wakeup(&can_start, WAKEUP_ALL); 143 144 144 while (atomic_get(&threads_ok) != (long)total) {145 while (atomic_get(&threads_ok) != total) { 145 146 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok)); 146 147 thread_sleep(1); -
kernel/test/fpu/sse1.c
rbc9da2a r228666c 109 109 char *test_sse1(void) 110 110 { 111 unsigned int i, total = 0; 111 unsigned int i; 112 atomic_count_t total = 0; 112 113 113 114 waitq_initialize(&can_start); … … 140 141 waitq_wakeup(&can_start, WAKEUP_ALL); 141 142 142 while (atomic_get(&threads_ok) != (long)total) {143 while (atomic_get(&threads_ok) != total) { 143 144 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok)); 144 145 thread_sleep(1);
Note:
See TracChangeset
for help on using the changeset viewer.