From 2f674df20581af4d9edd8fbc7c613c86f6f9be92 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 11 Jul 2006 18:15:22 +0000 Subject: [PATCH] remove unneeded nop the gcc-as add this self --- lib/base/object.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/base/object.h b/lib/base/object.h index ed7dda8d..68507a2b 100644 --- a/lib/base/object.h +++ b/lib/base/object.h @@ -57,7 +57,6 @@ public: " sc %0, %1 # try to store, checking for atomicity \n" \ " .set mips0 \n" \ " beqz %0, 1b # if not atomic (0), try again \n" \ - " nop # branch-delay slot \n" \ : "=&r" (temp), "=m" ((int)ref) \ : "m" ((int)ref) \ : "memory"); \ @@ -74,7 +73,6 @@ public: " sc %0, %1 \n" \ " .set mips0 \n" \ " beqz %0, 1b \n" \ - " nop \n" \ : "=&r" (temp), "=m" ((int)ref) \ : "m" ((int)ref) \ : "memory"); \ -- 2.30.2