OSDN Git Service

We need to use the ARM EABI to pass vector registers properly (i.e. float2).
authorStephen Hines <srhines@google.com>
Wed, 13 Mar 2013 00:10:19 +0000 (17:10 -0700)
committerStephen Hines <srhines@google.com>
Wed, 13 Mar 2013 00:10:19 +0000 (17:10 -0700)
commit408733b15c8d5cb1d7013f3761f15af1620e5160
tree2d83e49de8371cb2561280cafba6084668c7965d
parent51e11eea6d64dd156ce22ff3103ddf5676ef2d73
We need to use the ARM EABI to pass vector registers properly (i.e. float2).

Given the following function signature:
void rsDebug(const char *s, float2 f2);

Under the regular ARM ABI, the arguments would be passed as follows:
r0 <- s
r1 <- f2.x
r2 <- f2.y

Under the ARM EABI, the arguments would be passed as follows:
r0 <- s
r1 <- UNUSED due to alignment padding for vector operation
r2 <- f2.x
r3 <- f2.y

Change-Id: I2332c8555c00003ae900f299fa3aee1b3ccac439
core/llvm_config.mk