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 2001-10-23 22:23:22 +00:00
parent a73d224ef6
commit e0641b4c8a

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