Changeset bda24ee7 in mainline
- Timestamp:
- 2009-01-13T20:26:00Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6cd3e8a
- Parents:
- 42ec919
- Location:
- uspace/lib/libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/Makefile.toolchain
r42ec919 rbda24ee7 28 28 29 29 DEFS = -DARCH=$(ARCH) 30 CFLAGS = -fno-builtin -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -O3 -nostdlib -nostdinc -I$(LIBC_PREFIX)/include -pipe 30 CFLAGS = -fno-builtin -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -O3 -nostdlib -nostdinc -I$(LIBC_PREFIX)/include -pipe -g 31 31 LFLAGS = -M -N $(SOFTINT_PREFIX)/libsoftint.a 32 32 AFLAGS = -
uspace/lib/libc/arch/mips32/include/atomic.h
r42ec919 rbda24ee7 60 60 "1:\n" 61 61 " ll %0, %1\n" 62 " add iu %0, %0, %3\n" /* same as addi, but never traps on overflow */62 " addu %0, %0, %3\n" /* same as add, but never traps on overflow */ 63 63 " move %2, %0\n" 64 64 " sc %0, %1\n" 65 65 " beq %0, %4, 1b\n" /* if the atomic operation failed, try again */ 66 66 /* nop */ /* nop is inserted automatically by compiler */ 67 " nop\n" 67 68 : "=&r" (tmp), "+m" (val->count), "=&r" (v) 68 : " i" (i), "i" (0)69 : "r" (i), "i" (0) 69 70 ); 70 71
Note:
See TracChangeset
for help on using the changeset viewer.