Changeset b9b103d3 in mainline
- Timestamp:
- 2005-10-27T15:53:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39cb79a
- Parents:
- 807d2d4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.config
r807d2d4 rb9b103d3 8 8 # If this is yes, then the native compiler will be used instead of cross compiler 9 9 NATIVE_COMPILER=no 10 11 # If this is yes, strong CPU ordering is assumed 12 STRONG_ORDERING=no 10 13 11 14 # Support for symetric multiprocessors -
arch/ia32/Makefile.inc
r807d2d4 rb9b103d3 23 23 DEFS:=-DARCH=$(ARCH) -DFPU_LAZY 24 24 25 ifeq (${STRONG_ORDERING},yes) 26 DEFS+=-D__STRONG_ORDERING__ 27 endif 28 25 29 ifdef SMP 26 DEFS+=-D$(SMP)30 DEFS+=-D$(SMP) 27 31 endif 28 32 29 33 ifdef HT 30 DEFS+=-D$(HT)34 DEFS+=-D$(HT) 31 35 endif 32 36 -
arch/ia32/include/barrier.h
r807d2d4 rb9b103d3 44 44 #define CS_LEAVE_BARRIER() __asm__ volatile ("" ::: "memory") 45 45 46 #ifdef __STRONG_ORDERING__ 47 48 #define memory_barrier() 49 #define read_barrier() 50 #define write_barrier() 51 52 #else 53 46 54 #define memory_barrier() __asm__ volatile ("mfence\n" ::: "memory") 47 55 #define read_barrier() __asm__ volatile ("sfence\n" ::: "memory") … … 49 57 50 58 #endif 59 60 #endif -
build.ia32
r807d2d4 rb9b103d3 3 3 COMPILER="" 4 4 5 if [ "$1" == "native" ]; 6 then 7 COMPILER="NATIVE_COMPILER=yes"; 8 fi; 5 while [ "$#" -gt 0 ]; do 6 case "$1" in 7 native) 8 COMPILER="$COMPILER NATIVE_COMPILER=yes" 9 ;; 10 strong) 11 COMPILER="$COMPILER STRONG_ORDERING=yes" 12 ;; 13 *) 14 echo "Supported arguments: native strong" 15 exit 1 16 ;; 17 esac 18 shift 19 done 9 20 10 21 make all ARCH=ia32 $COMPILER
Note:
See TracChangeset
for help on using the changeset viewer.