changeset 63d8224543f7 in /z/repo/m5threads
details: http://repo.gem5.org/m5threads?cmd=changeset;node=63d8224543f7
description:
        Switch to ja instruction from jne in x86 spin_lock

diffstat:

 spinlock_x86.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 3f8d39a1afa1 -r 63d8224543f7 spinlock_x86.h
--- a/spinlock_x86.h    Mon Feb 16 13:29:55 2009 -0800
+++ b/spinlock_x86.h    Fri Aug 02 14:12:29 2013 -0600
@@ -29,10 +29,10 @@
         (
          "\n1:\t" \
          "cmpb $0,%1\n\t" \
-         "jne 1b\n\t" \
+         "ja 1b\n\t" \
          "xchgb %b0, %1\n\t" \
          "cmpb $0,%0\n" \
-         "jne 1b\n\t"
+         "ja 1b\n\t"
          :"=q"(oldval), "=m"(*lock)
          : "0"(1)
          : "memory");
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to