compiler-builtins-zynq/src/float
Paolo Teti 8f018562ca Add support for mul[s/d]f3vfp and div[s/d]f3vfp
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
2018-01-29 20:49:55 +01:00
..
add.rs Convert add! to a function 2017-09-14 17:33:44 +02:00
cmp.rs Fix some typos/bugs with float comparison intrinsics 2018-01-24 17:01:04 -08:00
conv.rs Partially revert a272d753f5 2017-09-29 02:20:27 +02:00
div.rs Add support for mul[s/d]f3vfp and div[s/d]f3vfp 2018-01-29 20:49:55 +01:00
mod.rs comparesf2/comparedf2: fix a signedness bug and add tests. 2017-12-29 07:58:34 +00:00
mul.rs Add support for mul[s/d]f3vfp and div[s/d]f3vfp 2018-01-29 20:49:55 +01:00
pow.rs Don't use a macro for pow calculation 2017-09-14 01:59:02 +02:00
sub.rs Refactor float builtins to use associated consts 2017-09-13 22:09:52 +02:00