Rev 1298 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1298 | Rev 1398 | ||
|---|---|---|---|
| Line 51... | Line 51... | ||
| 51 | */ |
51 | */ |
| 52 | static inline __native __native_le2host(__native n) |
52 | static inline __native __native_le2host(__native n) |
| 53 | { |
53 | { |
| 54 | __address v; |
54 | __address v; |
| 55 | 55 | ||
| - | 56 | asm volatile ( |
|
| 56 | __asm__ volatile ("lwbrx %0, %1, %2\n" : "=r" (v) : "i" (0) , "r" (&n)); |
57 | "lwbrx %0, %1, %2\n" |
| - | 58 | : "=r" (v) |
|
| - | 59 | : "i" (0), "r" (&n) |
|
| 57 | 60 | ); |
|
| 58 | return v; |
61 | return v; |
| 59 | } |
62 | } |
| - | 63 | ||
| 60 | #endif |
64 | #endif |