commit | 408733b15c8d5cb1d7013f3761f15af1620e5160 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Tue Mar 12 17:10:19 2013 -0700 |
committer | Stephen Hines <srhines@google.com> | Tue Mar 12 17:10:19 2013 -0700 |
tree | 2d83e49de8371cb2561280cafba6084668c7965d | |
parent | 51e11eea6d64dd156ce22ff3103ddf5676ef2d73 [diff] |
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