diff options
author | 2017-02-16 15:18:03 +0000 | |
---|---|---|
committer | 2017-03-28 09:50:09 +0100 | |
commit | 53463ba8717fc93379ebf2b0c04a9a2c85382973 (patch) | |
tree | 552b7b99e0f45239a3c1777ffacb00bb6fff2956 /compiler/optimizing/common_arm.h | |
parent | f4546792385ece9dd0ba956a6c9580027cfc8fdd (diff) |
Math.round float intrinsic for ARM.
Test: m test-art-target
Test: m 082-inline-execute
Change-Id: I1b384e388b9959eca662922bffa8675cdbfe6e6b
Diffstat (limited to 'compiler/optimizing/common_arm.h')
-rw-r--r-- | compiler/optimizing/common_arm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/common_arm.h b/compiler/optimizing/common_arm.h index e184745520..01304ac35b 100644 --- a/compiler/optimizing/common_arm.h +++ b/compiler/optimizing/common_arm.h @@ -66,6 +66,11 @@ inline vixl::aarch32::SRegister LowSRegisterFrom(Location location) { return vixl::aarch32::SRegister(location.AsFpuRegisterPairLow<vixl::aarch32::SRegister>()); } +inline vixl::aarch32::SRegister HighSRegisterFrom(Location location) { + DCHECK(location.IsFpuRegisterPair()) << location; + return vixl::aarch32::SRegister(location.AsFpuRegisterPairHigh<vixl::aarch32::SRegister>()); +} + inline vixl::aarch32::Register RegisterFrom(Location location) { DCHECK(location.IsRegister()) << location; return vixl::aarch32::Register(location.reg()); |