Changes in kernel/test/fpu/fpu1_ia64.c [cb01e1e:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified kernel/test/fpu/fpu1_ia64.c ¶
rcb01e1e r96b02eb9 85 85 86 86 if ((int) (100000000 * e) != E_10e8) { 87 TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, ( unative_t) (100000000 * e), (unative_t) E_10e8);87 TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (sysarg_t) (100000000 * e), (sysarg_t) E_10e8); 88 88 atomic_inc(&threads_fault); 89 89 break; … … 118 118 119 119 if ((int) (1000000 * pi) != PI_10e8) { 120 TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, ( unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100));120 TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (sysarg_t) (1000000 * pi), (sysarg_t) (PI_10e8 / 100)); 121 121 atomic_inc(&threads_fault); 122 122 break; … … 126 126 } 127 127 128 c har *test_fpu1(void)128 const 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 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok)); 162 while (atomic_get(&threads_ok) != total) { 163 TPRINTF("Threads left: %" PRIua "\n", 164 total - atomic_get(&threads_ok)); 163 165 thread_sleep(1); 164 166 }
Note:
See TracChangeset
for help on using the changeset viewer.