;; Core of the spinlock implementation;;;; Copyright (C) 2004 Axis Communications AB.;;;; Author: Mikael Starvik.globalcris_spin_lock.globalcris_spin_trylock.textcris_spin_lock:clearfp1:test.d[$r10]beq1bclearfpaxclear.d[$r10]bcs1bclearfpretnopcris_spin_trylock:clearfp1:move.d[$r10],$r11axclear.d[$r10]bcs1bclearfpretmove.d$r11,$r10