forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc55xx/include/mpc55xx.h: Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* mpc55xx/include/mpc55xx.h:
|
||||||
|
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||||
|
|
||||||
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h:
|
* mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h:
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ static inline size_t mpc55xx_cache_aligned_size( const void *s, size_t n)
|
|||||||
static inline uint32_t mpc55xx_count_leading_zeros( uint32_t value)
|
static inline uint32_t mpc55xx_count_leading_zeros( uint32_t value)
|
||||||
{
|
{
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
asm (
|
__asm__ (
|
||||||
"cntlzw %0, %1;"
|
"cntlzw %0, %1;"
|
||||||
: "=r" (count)
|
: "=r" (count)
|
||||||
: "r" (value)
|
: "r" (value)
|
||||||
|
|||||||
Reference in New Issue
Block a user