Fix the check for whether to use inline ARM assembler
Commit 839cf49763
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue