Fix the check for whether to use inline ARM assembler
Commit 839cf49763cfe28 changed the inline ARM assembler so that it won't be used when targetting the Thumb instruction set. I manually applied the patch but I messed up the #if so it was generating a warning. Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
a0ea2f3aca
commit
823f254190
@ -807,7 +807,7 @@ CoglFixed
|
|||||||
cogl_fixed_mul (CoglFixed a,
|
cogl_fixed_mul (CoglFixed a,
|
||||||
CoglFixed b)
|
CoglFixed b)
|
||||||
{
|
{
|
||||||
#ifdef __arm__ && !defined(__thumb__)
|
#if defined(__arm__) && !defined(__thumb__)
|
||||||
/* This provides about 12% speedeup on the gcc -O2 optimised
|
/* This provides about 12% speedeup on the gcc -O2 optimised
|
||||||
* C version
|
* C version
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user