8f018562ca
Here using `"C"` the compiler will use `"aapcs"` or `"aapcs-vfp"` depending on target configuration. Of course this translates in a call to `__aeabi_fdiv` / `__aeabi_fmul` on non-HF targets. On `eabi` targets with +vfpv2/vfpv3 LLVM generate: vmov s0, r1 vmov s2, r0 vdiv.f32 s0, s2, s0 vmov r0, s0 bx lr On `eabihf` targets with +vfpv3-d16/d32/f32 +fp-only-sp LLVM generate: vdiv.f32 s0, s0, s1 bx lr That's exactly what We need for [div/mul][s/d]f3vfp.S |
||
---|---|---|
.. | ||
float | ||
int | ||
arm_linux.rs | ||
arm.rs | ||
lib.rs | ||
macros.rs | ||
mem.rs | ||
probestack.rs | ||
x86_64.rs | ||
x86.rs |