Changeset 176 for trunk/softs
- Timestamp:
- Jun 14, 2011, 7:13:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/giet_tsar/drivers.c
r173 r176 924 924 // output : count = _barrier_count[index] (before decrementation) 925 925 asm volatile ("_barrier_decrement: \n" 926 "ll %0, 0(%1) \n" 926 "or $2, %1, $0 \n" 927 "ll %0, 0($2) \n" 927 928 "addi $3, %0, -1 \n" 928 "sc $3, 0( %1) \n"929 "sc $3, 0($2) \n" 929 930 "beqz $3, _barrier_decrement \n" 930 931 :"=r"(count):"r"(pcount):"$2","$3");
Note: See TracChangeset
for help on using the changeset viewer.