Andrew Kane
59fb34e63a
Added lgamma_r and lgammaf_r
2023-03-05 12:17:21 -08:00
Scott Mabin
67ebc4ae14
Extend the intrinsics exported for Xtensa no_std
2023-02-22 20:56:31 +00:00
Martin Kröning
620f50589e
Expose minimal floating point symbols for x86_64-unknown-none
2022-12-07 16:08:01 +01:00
Jules Bertholet
af5664be84
Update libm, add rint and rintf
2022-11-08 21:04:02 -05:00
D1plo1d
1d5b952100
math: Enabled floating point intrinsics for RISCV32 microcontrollers
2022-09-17 11:47:21 -04:00
Amanieu d'Antras
a81a868a59
Merge pull request #482 from ankane/gamma
2022-07-30 02:41:21 +02:00
Andrew Kane
89df6f6bc0
Added tgamma and tgammaf
2022-07-28 16:21:37 -07:00
Ayush Singh
f2ac36348c
Use all of src/math for UEFI
...
This is needed for libtest
2022-07-28 20:51:44 +05:30
Sean Cross
7cdad114a5
math: compile math functions for Xous
...
This adds support for Xous, enabling users to call math functions on
primitives such as `cos()`.
Signed-off-by: Sean Cross <sean@xobs.io >
2022-06-09 09:12:44 +08:00
Alex Crichton
9a01750b1b
Use more concise directives
2021-10-28 16:32:30 -07:00
Alex Crichton
b7fb6c594a
Adjust some build directives for wasm64
...
This is still an experimental target but this should get the wasm64
target to behave more like wasm32.
2021-10-28 10:29:37 -07:00
Scott Mabin
3b4d10f6bc
Add xtensa to list of soft math targets.
2021-10-16 15:27:40 +01:00
Georgy Shepelev
29dd109959
expose some math to UEFI envs
2021-10-15 23:18:56 +04:00
Robert Jördens
a97fe5f1d3
math: add {fmin,fmax}{f,} for thumb*-none-eabi* ( #389 )
...
These are exposed in core::f32
close #354
c.f. rust-lang/rust#62729
Patch from @whitequark (https://paste.debian.net/1168430/ )
2020-10-26 11:37:02 -05:00
varkor
3fe09ab411
Update libm for fmin/fmax/fminf/fmaxf
2019-06-05 23:41:18 +01:00
Alex Crichton
1701e71ed6
Include ldexp* intrinsics on the wasm target
...
Looks like LLVM optimizes programs like:
fn foo(a: u8) -> f32 {
2.0f32.powf(a as f32)
}
to actually invoking `ldexpf`, so let's be sure to include bindings so
there's not undefined symbols.
2019-05-02 12:40:39 -07:00
Goirad
63c0bd2522
Added missing fdim signature
2019-04-29 14:42:14 -07:00
Alex Crichton
a806c53b2c
Don't compile math symbols on wasm32-unknown-wasi
...
These are already provided by the C sysroot, so no need for us to
duplicate them!
2019-04-02 07:46:06 -07:00
Yu Ding
c5dc23d75d
Fix SGX target_env collision
...
Signed-off-by: Yu Ding <dingelish@gmail.com >
2019-01-03 12:53:08 -08:00
akashfortanix
f1971b5b71
expose ceil, floor and trunc on sgx-target
2018-12-27 19:13:50 +05:30
Jethro Beekman
3880e404a8
Add SGX target
2018-11-21 14:07:57 +05:30
Jethro Beekman
6582b145b8
Add f32 versions of WebAssembly math functions
2018-11-21 14:07:03 +05:30
Jorge Aparicio
8b1e42bf2a
expose fmod{,f} symbols on thumb
...
these symbols are required for the built-in operation `f32 % f32`
2018-07-24 13:26:50 -05:00
Alex Crichton
bb88e27e3c
Use intrinsics! macro for math intrinsics
...
Make sure they respect the `mangled-names` feature as well as have the `"C"`
ABI.
2018-07-18 10:04:33 -07:00
Jorge Aparicio
f43deaa6a4
fix path
2018-07-18 11:36:24 -05:00
Jorge Aparicio
1dbcef117c
expose math symbol on wasm32-unknown-unknown
2018-07-18 11:34:20 -05:00