Changeset 7f1c620 in mainline for test/fpu/sse1/test.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/fpu/sse1/test.c
r991779c5 r7f1c620 48 48 { 49 49 int i; 50 int arg __attribute__((aligned(16))) = (int)(( __native) data);50 int arg __attribute__((aligned(16))) = (int)((unative_t) data); 51 51 int after_arg __attribute__((aligned(16))); 52 52 … … 78 78 { 79 79 int i; 80 int arg __attribute__((aligned(16))) = (int)(( __native) data);80 int arg __attribute__((aligned(16))) = (int)((unative_t) data); 81 81 int after_arg __attribute__((aligned(16))); 82 82 … … 117 117 118 118 for (i=0; i<THREADS/2; i++) { 119 if (!(t = thread_create(testit1, (void *)(( __native)i*2), TASK, 0, "testit1")))119 if (!(t = thread_create(testit1, (void *)((unative_t)i*2), TASK, 0, "testit1"))) 120 120 panic("could not create thread\n"); 121 121 thread_ready(t); 122 if (!(t = thread_create(testit2, (void *)(( __native)i*2+1), TASK, 0, "testit2")))122 if (!(t = thread_create(testit2, (void *)((unative_t)i*2+1), TASK, 0, "testit2"))) 123 123 panic("could not create thread\n"); 124 124 thread_ready(t);
Note:
See TracChangeset
for help on using the changeset viewer.