formatting

This commit is contained in:
dborth 2009-05-21 07:58:52 +00:00
parent b752684807
commit 7fb77963b6

View File

@ -463,13 +463,15 @@ UpdatePadsCB ()
static inline void
MakeTexture (const void *src, void *dst, s32 width, s32 height)
{
register u32 tmp0 = 0, tmp1 = 0, tmp2 = 0, tmp3 = 0;
register u32 tmp0=0,tmp1=0,tmp2=0,tmp3=0;
__asm__ __volatile__ (" srwi %6,%6,2\n"
__asm__ __volatile__ (
" srwi %6,%6,2\n"
" srwi %7,%7,2\n"
" subi %3,%4,4\n"
" mr %4,%3\n"
" subi %4,%4,4\n"
"2: mtctr %6\n"
" mr %0,%5\n"
//
@ -494,10 +496,9 @@ MakeTexture (const void *src, void *dst, s32 width, s32 height)
" addi %5,%0,4128\n" //5
" subic. %7,%7,1\n"
" bne 2b"
// regs 0-7
:"=&r" (tmp0), "=&r" (tmp1), "=&r" (tmp2),
"=&r" (tmp3), "+r" (dst):"r" (src), "r" (width),
"r" (height));
// 0 1 2 3 4 5 6 7
: "=&r"(tmp0), "=&r"(tmp1), "=&r"(tmp2), "=&r"(tmp3), "+r"(dst) : "r"(src), "r"(width), "r"(height)
);
}
/****************************************************************************