Changeset e507afa in mainline for test


Ignore:
Timestamp:
2005-11-14T19:39:26Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abb79e84
Parents:
35667f8
Message:

For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).

New mips32 atomic_add() function.

Cleanup.

Location:
test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • test/fpu/fpu1/test.c

    r35667f8 re507afa  
    4646static inline double sqrt(double x) { double v; __asm__ ("fsqrt\n" : "=t" (v) : "0" (x)); return v; }
    4747
    48 static volatile int threads_ok;
     48static atomic_t threads_ok;
    4949static waitq_t can_start;
    5050
  • test/fpu/mips1/test.c

    r35667f8 re507afa  
    4242#define ATTEMPTS        5
    4343
    44 static volatile int threads_ok;
     44static atomic_t threads_ok;
    4545static waitq_t can_start;
    4646
  • test/fpu/sse1/test.c

    r35667f8 re507afa  
    4242#define ATTEMPTS        5
    4343
    44 static volatile int threads_ok;
     44static atomic_t threads_ok;
    4545static waitq_t can_start;
    4646
  • test/synch/rwlock5/test.c

    r35667f8 re507afa  
    7676{
    7777        int i, j, k;
    78         int readers, writers;
     78        count_t readers, writers;
    7979       
    8080        printf("Read/write locks test #5\n");
Note: See TracChangeset for help on using the changeset viewer.