View difference between Paste ID: YN5FnphA and nja46ggi
SHOW: | | - or go back to the newest paste.
1
static inline int f(int a)
2
{
3
	int b;
4-
	asm volatile("l.mfspr %0, r0, %1" : "=r"(b) : "r"(a) : );
4+
	asm volatile("l.mfspr %0, r0, %1" : "=r"(b) : "i"(a) : );
5
6
	return b;
7
}