Differences From Artifact [f51fb05aa2]:
- File
src/macros.h
— part of check-in
[417b213d41]
at
2012-07-16 23:49:50
on branch trunk
— Add OF_ENSURE.
This is to be used when the condition includes a statement that needs to
be executed, as with assert, this would not be executed anymore when
NDEBUG is defined. (user: js, size: 8605) [annotate] [blame] [check-ins using]
To Artifact [60c9e97976]:
- File src/macros.h — part of check-in [db8a3bb7ac] at 2012-07-19 01:56:16 on branch trunk — Only use rev(16) when __ARM_ARCH_6__ is defined. (user: js, size: 8659) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
148 149 150 151 152 153 154 | ); #elif defined(OF_PPC_ASM) __asm__ ( "lhbrx %0, 0, %1" : "=r"(i) : "r"(&i), "m"(i) ); | | | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | ); #elif defined(OF_PPC_ASM) __asm__ ( "lhbrx %0, 0, %1" : "=r"(i) : "r"(&i), "m"(i) ); #elif defined(OF_ARM_ASM) && defined(__ARM_ARCH_6__) __asm__ ( "rev16 %0, %0" : "=r"(i) : "0"(i) ); #else i = (i & UINT16_C(0xFF00)) >> 8 | |
︙ | ︙ | |||
176 177 178 179 180 181 182 | ); #elif defined(OF_PPC_ASM) __asm__ ( "lwbrx %0, 0, %1" : "=r"(i) : "r"(&i), "m"(i) ); | | | 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | ); #elif defined(OF_PPC_ASM) __asm__ ( "lwbrx %0, 0, %1" : "=r"(i) : "r"(&i), "m"(i) ); #elif defined(OF_ARM_ASM) && defined(__ARM_ARCH_6__) __asm__ ( "rev %0, %0" : "=r"(i) : "0"(i) ); #else i = (i & UINT32_C(0xFF000000)) >> 24 | |
︙ | ︙ |