Fix RAW dependency violation when compiled with gcc-3

Warning: Use of 'br.ret.sptk.many' violates RAW dependency 'PSR.tb' (data)
This commit is contained in:
Peter Wemm 2001-10-23 22:23:22 +00:00
parent 64ce1efcd1
commit 76792d87a8

View File

@ -451,7 +451,7 @@ map_pal_code(void)
__asm __volatile("itr.i itr[%0]=%1;;"
:: "r"(2), "r"(*(u_int64_t*)&pte));
__asm __volatile("srlz.i;;");
__asm __volatile("mov psr.l=%0;; srlz.i" :: "r" (psr));
__asm __volatile("mov psr.l=%0;; srlz.i;;" :: "r" (psr));
}
static void