test float/conv.rs
This commit is contained in:
parent
af0d6847d7
commit
62091bb124
16 changed files with 1045 additions and 35 deletions
|
|
@ -5,17 +5,13 @@ name = "compiler_builtins"
|
|||
version = "0.1.0"
|
||||
|
||||
[build-dependencies]
|
||||
cast = "0.2.0"
|
||||
rand = "0.3.15"
|
||||
|
||||
[build-dependencies.gcc]
|
||||
optional = true
|
||||
version = "0.3.36"
|
||||
|
||||
[target.'cfg(all(target_arch = "arm", not(any(target_env = "gnu", target_env = "musl")), target_os = "linux"))'.dev-dependencies]
|
||||
test = { git = "https://github.com/japaric/utest" }
|
||||
utest-cortex-m-qemu = { git = "https://github.com/japaric/utest", default-features = false }
|
||||
utest-macros = { git = "https://github.com/japaric/utest" }
|
||||
|
||||
[features]
|
||||
c = ["gcc"]
|
||||
compiler-builtins = []
|
||||
|
|
@ -23,4 +19,20 @@ default = ["compiler-builtins"]
|
|||
mem = []
|
||||
rustbuild = ["compiler-builtins"]
|
||||
|
||||
[target]
|
||||
|
||||
[target."cfg(all(target_arch = \"arm\", not(any(target_env = \"gnu\", target_env = \"musl\")), target_os = \"linux\"))"]
|
||||
|
||||
[target."cfg(all(target_arch = \"arm\", not(any(target_env = \"gnu\", target_env = \"musl\")), target_os = \"linux\"))".dev-dependencies]
|
||||
|
||||
[target."cfg(all(target_arch = \"arm\", not(any(target_env = \"gnu\", target_env = \"musl\")), target_os = \"linux\"))".dev-dependencies.test]
|
||||
git = "https://github.com/japaric/utest"
|
||||
|
||||
[target."cfg(all(target_arch = \"arm\", not(any(target_env = \"gnu\", target_env = \"musl\")), target_os = \"linux\"))".dev-dependencies.utest-cortex-m-qemu]
|
||||
default-features = false
|
||||
git = "https://github.com/japaric/utest"
|
||||
|
||||
[target."cfg(all(target_arch = \"arm\", not(any(target_env = \"gnu\", target_env = \"musl\")), target_os = \"linux\"))".dev-dependencies.utest-macros]
|
||||
git = "https://github.com/japaric/utest"
|
||||
|
||||
[workspace]
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
8
library/compiler-builtins/tests/fixdfdi.rs
Normal file
8
library/compiler-builtins/tests/fixdfdi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixdfdi.rs"));
|
||||
8
library/compiler-builtins/tests/fixdfsi.rs
Normal file
8
library/compiler-builtins/tests/fixdfsi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixdfsi.rs"));
|
||||
8
library/compiler-builtins/tests/fixsfdi.rs
Normal file
8
library/compiler-builtins/tests/fixsfdi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixsfdi.rs"));
|
||||
8
library/compiler-builtins/tests/fixsfsi.rs
Normal file
8
library/compiler-builtins/tests/fixsfsi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixsfsi.rs"));
|
||||
8
library/compiler-builtins/tests/fixunsdfdi.rs
Normal file
8
library/compiler-builtins/tests/fixunsdfdi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixunsdfdi.rs"));
|
||||
8
library/compiler-builtins/tests/fixunsdfsi.rs
Normal file
8
library/compiler-builtins/tests/fixunsdfsi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixunsdfsi.rs"));
|
||||
8
library/compiler-builtins/tests/fixunssfdi.rs
Normal file
8
library/compiler-builtins/tests/fixunssfdi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixunssfdi.rs"));
|
||||
8
library/compiler-builtins/tests/fixunssfsi.rs
Normal file
8
library/compiler-builtins/tests/fixunssfsi.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/fixunssfsi.rs"));
|
||||
8
library/compiler-builtins/tests/floatdidf.rs
Normal file
8
library/compiler-builtins/tests/floatdidf.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/floatdidf.rs"));
|
||||
8
library/compiler-builtins/tests/floatsidf.rs
Normal file
8
library/compiler-builtins/tests/floatsidf.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/floatsidf.rs"));
|
||||
8
library/compiler-builtins/tests/floatsisf.rs
Normal file
8
library/compiler-builtins/tests/floatsisf.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/floatsisf.rs"));
|
||||
8
library/compiler-builtins/tests/floatundidf.rs
Normal file
8
library/compiler-builtins/tests/floatundidf.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/floatundidf.rs"));
|
||||
8
library/compiler-builtins/tests/floatunsidf.rs
Normal file
8
library/compiler-builtins/tests/floatunsidf.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/floatunsidf.rs"));
|
||||
8
library/compiler-builtins/tests/floatunsisf.rs
Normal file
8
library/compiler-builtins/tests/floatunsisf.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![feature(compiler_builtins_lib)]
|
||||
#![feature(i128_type)]
|
||||
#![cfg_attr(all(target_arch = "arm",
|
||||
not(any(target_env = "gnu", target_env = "musl")),
|
||||
target_os = "linux",
|
||||
test), no_std)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/floatunsisf.rs"));
|
||||
Loading…
Add table
Add a link
Reference in a new issue