From 30454e4758bb2929570446334fb8410d84f37f9b Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Sat, 11 Jul 2026 20:12:23 +0100 Subject: [PATCH 1/3] Test Zynq example with a D32 FPU and add to .gitignore and VS Code --- .gitignore | 3 ++- .vscode/settings.json | 1 + justfile | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index df3528d..47ed3f4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ examples/mps3-an536-el2/target examples/mps3-an536-el2/target-d32 examples/versatileab/target examples/versatileab/target-d32 +examples/xilinx-zynq-a9/target +examples/xilinx-zynq-a9/target-d32 Cargo.lock **/.DS_Store - diff --git a/.vscode/settings.json b/.vscode/settings.json index 8507498..570a951 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,5 +11,6 @@ "examples/versatileab/Cargo.toml", "examples/mps3-an536/Cargo.toml", "examples/mps3-an536-el2/Cargo.toml", + "examples/xilinx-zynq-a9/Cargo.toml", ] } diff --git a/justfile b/justfile index 12114f0..57f5148 100644 --- a/justfile +++ b/justfile @@ -302,6 +302,8 @@ test-qemu-v7a-zynq: ./tests.sh examples/xilinx-zynq-a9 armv7a-none-eabihf {{verbose}} --release || FAIL=1 ./tests.sh examples/xilinx-zynq-a9 thumbv7a-none-eabi {{verbose}} --release || FAIL=1 ./tests.sh examples/xilinx-zynq-a9 thumbv7a-none-eabihf {{verbose}} --release || FAIL=1 + RUSTFLAGS=-Ctarget-feature=+d32 ./tests.sh examples/xilinx-zynq-a9 armv7a-none-eabihf --features=fpu-d32 --target-dir=target-d32 {{verbose}} --release || FAIL=1 + RUSTFLAGS=-Ctarget-feature=+d32 ./tests.sh examples/xilinx-zynq-a9 thumbv7a-none-eabihf --features=fpu-d32 --target-dir=target-d32 {{verbose}} --release || FAIL=1 if [ "${FAIL}" == "1" ]; then exit 1; fi test-qemu-v7r: From 45ebd2481674acde9f7e430c526e1ef9523555d7 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Fri, 4 Sep 2026 18:02:37 +0100 Subject: [PATCH 2/3] Add FPU tests for Zynq - Bumps nightly to one with fixed D16 armv7a-none-eabihf target - Resolves a bunch of warnings caused by that new nightly - Redundant Cargo.toml metadata - Redundant cargo dependencies - Binaries that were not kebab-case --- aarch32-cpu/Cargo.toml | 2 - aarch32-cpu/src/lib.rs | 4 + aarch32-rt-macros/Cargo.toml | 1 - aarch32-rt/Cargo.toml | 1 - ...hf.snap => c-test-armv8r-none-eabihf.snap} | 2 +- ....snap => c-test-thumbv8r-none-eabihf.snap} | 2 +- ... => generic-timer-armv8r-none-eabihf.snap} | 2 +- ...generic-timer-irq-armv8r-none-eabihf.snap} | 2 +- ...neric-timer-irq-thumbv8r-none-eabihf.snap} | 2 +- ...> generic-timer-thumbv8r-none-eabihf.snap} | 2 +- ...snap => mpu-setup-armv8r-none-eabihf.snap} | 2 +- ...ap => mpu-setup-thumbv8r-none-eabihf.snap} | 2 +- ...eabi.snap => c-test-armv4t-none-eabi.snap} | 2 +- ...abi.snap => c-test-armv5te-none-eabi.snap} | 2 +- .../versatileab/c-test-armv6-none-eabi.snap | 19 ++ .../versatileab/c-test-armv6-none-eabihf.snap | 19 ++ .../versatileab/c-test-armv7a-none-eabi.snap | 19 ++ .../c-test-armv7a-none-eabihf.snap | 19 ++ .../versatileab/c-test-armv7r-none-eabi.snap | 19 ++ .../c-test-armv7r-none-eabihf.snap | 19 ++ .../c-test-thumbv4t-none-eabi.snap | 19 ++ .../c-test-thumbv5te-none-eabi.snap | 19 ++ .../versatileab/c-test-thumbv6-none-eabi.snap | 19 ++ .../c-test-thumbv7a-none-eabi.snap | 19 ++ .../c-test-thumbv7a-none-eabihf.snap | 19 ++ .../c-test-thumbv7r-none-eabi.snap | 19 ++ .../c-test-thumbv7r-none-eabihf.snap | 19 ++ .../versatileab/c_test-armv6-none-eabi.snap | 19 -- .../versatileab/c_test-armv6-none-eabihf.snap | 19 -- .../versatileab/c_test-armv7a-none-eabi.snap | 19 -- .../c_test-armv7a-none-eabihf.snap | 19 -- .../versatileab/c_test-armv7r-none-eabi.snap | 19 -- .../c_test-armv7r-none-eabihf.snap | 19 -- .../c_test-thumbv4t-none-eabi.snap | 19 -- .../c_test-thumbv5te-none-eabi.snap | 19 -- .../versatileab/c_test-thumbv6-none-eabi.snap | 19 -- .../c_test-thumbv7a-none-eabi.snap | 19 -- .../c_test-thumbv7a-none-eabihf.snap | 19 -- .../c_test-thumbv7r-none-eabi.snap | 19 -- .../c_test-thumbv7r-none-eabihf.snap | 19 -- ...ap => generic-timer-armv4t-none-eabi.snap} | 2 +- ...p => generic-timer-armv5te-none-eabi.snap} | 2 +- ...nap => generic-timer-armv6-none-eabi.snap} | 2 +- ...p => generic-timer-armv6-none-eabihf.snap} | 2 +- ...ap => generic-timer-armv7a-none-eabi.snap} | 2 +- ... => generic-timer-armv7a-none-eabihf.snap} | 2 +- .../generic-timer-armv7r-none-eabi.snap | 5 + .../generic-timer-armv7r-none-eabihf.snap | 5 + .../generic-timer-thumbv4t-none-eabi.snap | 5 + .../generic-timer-thumbv5te-none-eabi.snap | 5 + .../generic-timer-thumbv6-none-eabi.snap | 5 + ... => generic-timer-thumbv7a-none-eabi.snap} | 2 +- ...> generic-timer-thumbv7a-none-eabihf.snap} | 2 +- .../generic-timer-thumbv7r-none-eabi.snap | 5 + .../generic-timer-thumbv7r-none-eabihf.snap | 5 + .../generic_timer-armv7r-none-eabi.snap | 5 - .../generic_timer-armv7r-none-eabihf.snap | 5 - .../generic_timer-thumbv4t-none-eabi.snap | 5 - .../generic_timer-thumbv5te-none-eabi.snap | 5 - .../generic_timer-thumbv6-none-eabi.snap | 5 - .../generic_timer-thumbv7r-none-eabi.snap | 5 - .../generic_timer-thumbv7r-none-eabihf.snap | 5 - .../fpu-test-armv7a-none-eabi.snap | 206 ++++++++++++++++++ .../fpu-test-armv7a-none-eabihf.snap | 206 ++++++++++++++++++ .../fpu-test-thumbv7a-none-eabi.snap | 206 ++++++++++++++++++ .../fpu-test-thumbv7a-none-eabihf.snap | 206 ++++++++++++++++++ aarch32-tests/tests/tests.rs | 12 + arm-targets/Cargo.toml | 1 - examples/mps3-an536-el2/Cargo.toml | 3 - examples/mps3-an536/Cargo.toml | 1 - .../src/bin/{c_test.rs => c-test.rs} | 0 ...eric_timer_irq.rs => generic-timer-irq.rs} | 0 .../{generic_timer.rs => generic-timer.rs} | 0 .../src/bin/{mpu_setup.rs => mpu-setup.rs} | 0 examples/versatileab/Cargo.toml | 1 - .../src/bin/{c_test.rs => c-test.rs} | 0 .../{generic_timer.rs => generic-timer.rs} | 0 examples/xilinx-zynq-a9/Cargo.toml | 4 - examples/xilinx-zynq-a9/src/bin/fpu-test.rs | 36 +++ rust-toolchain.toml | 2 +- 80 files changed, 1177 insertions(+), 315 deletions(-) rename aarch32-tests/tests/snapshots/mps3-an536/{c_test-armv8r-none-eabihf.snap => c-test-armv8r-none-eabihf.snap} (94%) rename aarch32-tests/tests/snapshots/mps3-an536/{c_test-thumbv8r-none-eabihf.snap => c-test-thumbv8r-none-eabihf.snap} (94%) rename aarch32-tests/tests/snapshots/mps3-an536/{generic_timer-armv8r-none-eabihf.snap => generic-timer-armv8r-none-eabihf.snap} (94%) rename aarch32-tests/tests/snapshots/mps3-an536/{generic_timer_irq-armv8r-none-eabihf.snap => generic-timer-irq-armv8r-none-eabihf.snap} (95%) rename aarch32-tests/tests/snapshots/mps3-an536/{generic_timer_irq-thumbv8r-none-eabihf.snap => generic-timer-irq-thumbv8r-none-eabihf.snap} (95%) rename aarch32-tests/tests/snapshots/mps3-an536/{generic_timer-thumbv8r-none-eabihf.snap => generic-timer-thumbv8r-none-eabihf.snap} (94%) rename aarch32-tests/tests/snapshots/mps3-an536/{mpu_setup-armv8r-none-eabihf.snap => mpu-setup-armv8r-none-eabihf.snap} (98%) rename aarch32-tests/tests/snapshots/mps3-an536/{mpu_setup-thumbv8r-none-eabihf.snap => mpu-setup-thumbv8r-none-eabihf.snap} (98%) rename aarch32-tests/tests/snapshots/versatileab/{c_test-armv4t-none-eabi.snap => c-test-armv4t-none-eabi.snap} (94%) rename aarch32-tests/tests/snapshots/versatileab/{c_test-armv5te-none-eabi.snap => c-test-armv5te-none-eabi.snap} (94%) create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv4t-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv5te-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv6-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv4t-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv5te-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv6-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabihf.snap rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-armv4t-none-eabi.snap => generic-timer-armv4t-none-eabi.snap} (61%) rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-armv5te-none-eabi.snap => generic-timer-armv5te-none-eabi.snap} (61%) rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-armv6-none-eabi.snap => generic-timer-armv6-none-eabi.snap} (61%) rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-armv6-none-eabihf.snap => generic-timer-armv6-none-eabihf.snap} (61%) rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-armv7a-none-eabi.snap => generic-timer-armv7a-none-eabi.snap} (93%) rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-armv7a-none-eabihf.snap => generic-timer-armv7a-none-eabihf.snap} (93%) create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv4t-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv5te-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv6-none-eabi.snap rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-thumbv7a-none-eabi.snap => generic-timer-thumbv7a-none-eabi.snap} (93%) rename aarch32-tests/tests/snapshots/versatileab/{generic_timer-thumbv7a-none-eabihf.snap => generic-timer-thumbv7a-none-eabihf.snap} (93%) create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabihf.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv4t-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv5te-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv6-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabi.snap delete mode 100644 aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabihf.snap create mode 100644 aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabi.snap create mode 100644 aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabihf.snap rename examples/mps3-an536/src/bin/{c_test.rs => c-test.rs} (100%) rename examples/mps3-an536/src/bin/{generic_timer_irq.rs => generic-timer-irq.rs} (100%) rename examples/mps3-an536/src/bin/{generic_timer.rs => generic-timer.rs} (100%) rename examples/mps3-an536/src/bin/{mpu_setup.rs => mpu-setup.rs} (100%) rename examples/versatileab/src/bin/{c_test.rs => c-test.rs} (100%) rename examples/versatileab/src/bin/{generic_timer.rs => generic-timer.rs} (100%) create mode 100644 examples/xilinx-zynq-a9/src/bin/fpu-test.rs diff --git a/aarch32-cpu/Cargo.toml b/aarch32-cpu/Cargo.toml index 9368a5a..1f9e485 100644 --- a/aarch32-cpu/Cargo.toml +++ b/aarch32-cpu/Cargo.toml @@ -18,7 +18,6 @@ keywords = [ ] license = "MIT OR Apache-2.0" name = "aarch32-cpu" -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" homepage = "https://github.com/rust-embedded/aarch32" rust-version = "1.93" @@ -27,7 +26,6 @@ version = "0.4.0" [dependencies] arbitrary-int = "2" bitbybit = "2" -num_enum = { version = "0.7", default-features = false } critical-section = {version = "1.2.0", features = ["restore-state-u8"], optional = true} thiserror = { version = "2", default-features = false } defmt = { version = "1", optional = true } diff --git a/aarch32-cpu/src/lib.rs b/aarch32-cpu/src/lib.rs index 0e037e8..9bb4af2 100644 --- a/aarch32-cpu/src/lib.rs +++ b/aarch32-cpu/src/lib.rs @@ -6,6 +6,10 @@ #![deny(clippy::unnecessary_safety_comment)] #![deny(clippy::unnecessary_safety_doc)] +// Only used by the mmu module, but we don't want cargo to complain +// about an unused dependency +use thiserror as _; + pub mod cache; pub mod interrupt; pub mod register; diff --git a/aarch32-rt-macros/Cargo.toml b/aarch32-rt-macros/Cargo.toml index d40af3d..3407440 100644 --- a/aarch32-rt-macros/Cargo.toml +++ b/aarch32-rt-macros/Cargo.toml @@ -8,7 +8,6 @@ description = "Run-Time macros for aarch32-rt" edition = "2021" license = "MIT OR Apache-2.0" name = "aarch32-rt-macros" -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" homepage = "https://github.com/rust-embedded/aarch32" rust-version = "1.93" diff --git a/aarch32-rt/Cargo.toml b/aarch32-rt/Cargo.toml index 10b1edf..e52cda6 100644 --- a/aarch32-rt/Cargo.toml +++ b/aarch32-rt/Cargo.toml @@ -18,7 +18,6 @@ keywords = [ ] license = "MIT OR Apache-2.0" name = "aarch32-rt" -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" rust-version = "1.93" version = "0.5.0" diff --git a/aarch32-tests/tests/snapshots/mps3-an536/c_test-armv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/c-test-armv8r-none-eabihf.snap similarity index 94% rename from aarch32-tests/tests/snapshots/mps3-an536/c_test-armv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/c-test-armv8r-none-eabihf.snap index 5d86fd4..9af6530 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/c_test-armv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/c-test-armv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- c_code_char_check(p) -> 2 diff --git a/aarch32-tests/tests/snapshots/mps3-an536/c_test-thumbv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/c-test-thumbv8r-none-eabihf.snap similarity index 94% rename from aarch32-tests/tests/snapshots/mps3-an536/c_test-thumbv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/c-test-thumbv8r-none-eabihf.snap index 5d86fd4..9af6530 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/c_test-thumbv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/c-test-thumbv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- c_code_char_check(p) -> 2 diff --git a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer-armv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-armv8r-none-eabihf.snap similarity index 94% rename from aarch32-tests/tests/snapshots/mps3-an536/generic_timer-armv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/generic-timer-armv8r-none-eabihf.snap index e5a782d..c879f8f 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer-armv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-armv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Found PERIPHBASE 0xf0000000 diff --git a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer_irq-armv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-irq-armv8r-none-eabihf.snap similarity index 95% rename from aarch32-tests/tests/snapshots/mps3-an536/generic_timer_irq-armv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/generic-timer-irq-armv8r-none-eabihf.snap index dd7947f..f4a9145 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer_irq-armv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-irq-armv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Found PERIPHBASE 0xf0000000 diff --git a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer_irq-thumbv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-irq-thumbv8r-none-eabihf.snap similarity index 95% rename from aarch32-tests/tests/snapshots/mps3-an536/generic_timer_irq-thumbv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/generic-timer-irq-thumbv8r-none-eabihf.snap index dd7947f..f4a9145 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer_irq-thumbv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-irq-thumbv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Found PERIPHBASE 0xf0000000 diff --git a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer-thumbv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-thumbv8r-none-eabihf.snap similarity index 94% rename from aarch32-tests/tests/snapshots/mps3-an536/generic_timer-thumbv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/generic-timer-thumbv8r-none-eabihf.snap index e5a782d..c879f8f 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/generic_timer-thumbv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/generic-timer-thumbv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Found PERIPHBASE 0xf0000000 diff --git a/aarch32-tests/tests/snapshots/mps3-an536/mpu_setup-armv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/mpu-setup-armv8r-none-eabihf.snap similarity index 98% rename from aarch32-tests/tests/snapshots/mps3-an536/mpu_setup-armv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/mpu-setup-armv8r-none-eabihf.snap index 52eeca9..f4954d6 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/mpu_setup-armv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/mpu-setup-armv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- UND @ 0x1005bd80..=0x1005fd7f diff --git a/aarch32-tests/tests/snapshots/mps3-an536/mpu_setup-thumbv8r-none-eabihf.snap b/aarch32-tests/tests/snapshots/mps3-an536/mpu-setup-thumbv8r-none-eabihf.snap similarity index 98% rename from aarch32-tests/tests/snapshots/mps3-an536/mpu_setup-thumbv8r-none-eabihf.snap rename to aarch32-tests/tests/snapshots/mps3-an536/mpu-setup-thumbv8r-none-eabihf.snap index 52eeca9..f4954d6 100644 --- a/aarch32-tests/tests/snapshots/mps3-an536/mpu_setup-thumbv8r-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/mps3-an536/mpu-setup-thumbv8r-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- UND @ 0x1005bd80..=0x1005fd7f diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv4t-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv4t-none-eabi.snap similarity index 94% rename from aarch32-tests/tests/snapshots/versatileab/c_test-armv4t-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/c-test-armv4t-none-eabi.snap index 5d86fd4..9af6530 100644 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv4t-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv4t-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- c_code_char_check(p) -> 2 diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv5te-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv5te-none-eabi.snap similarity index 94% rename from aarch32-tests/tests/snapshots/versatileab/c_test-armv5te-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/c-test-armv5te-none-eabi.snap index 5d86fd4..9af6530 100644 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv5te-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv5te-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- c_code_char_check(p) -> 2 diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabihf.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv6-none-eabihf.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabihf.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7a-none-eabihf.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabihf.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-armv7r-none-eabihf.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv4t-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv4t-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv4t-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv5te-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv5te-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv5te-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv6-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv6-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabihf.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7a-none-eabihf.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabi.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabi.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabihf.snap new file mode 100644 index 0000000..9af6530 --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/c-test-thumbv7r-none-eabihf.snap @@ -0,0 +1,19 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +c_code_char_check(p) -> 2 +c_code_unsigned_char_check(p) -> 2 +c_code_signed_char_check(p) -> 2 +c_code_short_check(p) -> 2 +c_code_unsigned_short_check(p) -> 2 +c_code_int_check(p) -> 2 +c_code_unsigned_int_check(p) -> 2 +c_code_long_check(p) -> 2 +c_code_unsigned_long_check(p) -> 2 +c_code_int_ptr_check(p) -> 2 +c_code_float_check(p) -> 2 +c_code_double_check(p) -> 2 +data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } +c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } +called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabihf.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv6-none-eabihf.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabihf.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7a-none-eabihf.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabihf.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-armv7r-none-eabihf.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv4t-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv4t-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv4t-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv5te-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv5te-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv5te-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv6-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv6-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabihf.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7a-none-eabihf.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabi.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabi.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabihf.snap deleted file mode 100644 index 5d86fd4..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/c_test-thumbv7r-none-eabihf.snap +++ /dev/null @@ -1,19 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -c_code_char_check(p) -> 2 -c_code_unsigned_char_check(p) -> 2 -c_code_signed_char_check(p) -> 2 -c_code_short_check(p) -> 2 -c_code_unsigned_short_check(p) -> 2 -c_code_int_check(p) -> 2 -c_code_unsigned_int_check(p) -> 2 -c_code_long_check(p) -> 2 -c_code_unsigned_long_check(p) -> 2 -c_code_int_ptr_check(p) -> 2 -c_code_float_check(p) -> 2 -c_code_double_check(p) -> 2 -data_in: c_code_data_t { c: 1, s: 1, i: 1, l: 1, f: 1.0, d: 1.0, e: 1 } -c_code_struct_check(data_in) -> c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } -called c_code_struct_ref_check, data_in is c_code_data_t { c: 2, s: 2, i: 2, l: 2, f: 2.0, d: 2.0, e: 2 } diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv4t-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv4t-none-eabi.snap similarity index 61% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-armv4t-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-armv4t-none-eabi.snap index 0d76b67..16435af 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv4t-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv4t-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv5te-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv5te-none-eabi.snap similarity index 61% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-armv5te-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-armv5te-none-eabi.snap index 0d76b67..16435af 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv5te-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv5te-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv6-none-eabi.snap similarity index 61% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-armv6-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-armv6-none-eabi.snap index 0d76b67..16435af 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv6-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv6-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv6-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv6-none-eabihf.snap similarity index 61% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-armv6-none-eabihf.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-armv6-none-eabihf.snap index 0d76b67..16435af 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv6-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv6-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7a-none-eabi.snap similarity index 93% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7a-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7a-none-eabi.snap index a17f774..326231f 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7a-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7a-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- cntfrq = 62.500 MHz diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7a-none-eabihf.snap similarity index 93% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7a-none-eabihf.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7a-none-eabihf.snap index a17f774..326231f 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7a-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7a-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- cntfrq = 62.500 MHz diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabi.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabi.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabihf.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-armv7r-none-eabihf.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv4t-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv4t-none-eabi.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv4t-none-eabi.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv5te-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv5te-none-eabi.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv5te-none-eabi.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv6-none-eabi.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv6-none-eabi.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7a-none-eabi.snap similarity index 93% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7a-none-eabi.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7a-none-eabi.snap index a17f774..326231f 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7a-none-eabi.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7a-none-eabi.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- cntfrq = 62.500 MHz diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7a-none-eabihf.snap similarity index 93% rename from aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7a-none-eabihf.snap rename to aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7a-none-eabihf.snap index a17f774..326231f 100644 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7a-none-eabihf.snap +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7a-none-eabihf.snap @@ -1,5 +1,5 @@ --- -source: qemu-tests/tests/tests.rs +source: aarch32-tests/tests/tests.rs expression: stdout --- cntfrq = 62.500 MHz diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabi.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabi.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabihf.snap new file mode 100644 index 0000000..16435af --- /dev/null +++ b/aarch32-tests/tests/snapshots/versatileab/generic-timer-thumbv7r-none-eabihf.snap @@ -0,0 +1,5 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabi.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabi.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabihf.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-armv7r-none-eabihf.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv4t-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv4t-none-eabi.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv4t-none-eabi.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv5te-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv5te-none-eabi.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv5te-none-eabi.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv6-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv6-none-eabi.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv6-none-eabi.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabi.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabi.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabi.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabihf.snap b/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabihf.snap deleted file mode 100644 index 0d76b67..0000000 --- a/aarch32-tests/tests/snapshots/versatileab/generic_timer-thumbv7r-none-eabihf.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: qemu-tests/tests/tests.rs -expression: stdout ---- -Skipping timer test, not Armv7-A diff --git a/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabi.snap new file mode 100644 index 0000000..6ae5061 --- /dev/null +++ b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabi.snap @@ -0,0 +1,206 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Sine wave test (f32)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) ..............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +Sine wave test (f64)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o diff --git a/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabihf.snap new file mode 100644 index 0000000..6ae5061 --- /dev/null +++ b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-armv7a-none-eabihf.snap @@ -0,0 +1,206 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Sine wave test (f32)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) ..............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +Sine wave test (f64)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o diff --git a/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabi.snap b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabi.snap new file mode 100644 index 0000000..6ae5061 --- /dev/null +++ b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabi.snap @@ -0,0 +1,206 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Sine wave test (f32)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) ..............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +Sine wave test (f64)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o diff --git a/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabihf.snap b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabihf.snap new file mode 100644 index 0000000..6ae5061 --- /dev/null +++ b/aarch32-tests/tests/snapshots/xilinx-zynq-a9/fpu-test-thumbv7a-none-eabihf.snap @@ -0,0 +1,206 @@ +--- +source: aarch32-tests/tests/tests.rs +expression: stdout +--- +Sine wave test (f32)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) ..............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +Sine wave test (f64)... +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o +( 0.0000) ..............................o +( 0.1253) .................................o +( 0.2487) .....................................o +( 0.3681) .........................................o +( 0.4818) ............................................o +( 0.5878) ...............................................o +( 0.6845) ..................................................o +( 0.7705) .....................................................o +( 0.8443) .......................................................o +( 0.9048) .........................................................o +( 0.9511) ..........................................................o +( 0.9823) ...........................................................o +( 0.9980) ...........................................................o +( 0.9980) ...........................................................o +( 0.9823) ...........................................................o +( 0.9511) ..........................................................o +( 0.9048) .........................................................o +( 0.8443) .......................................................o +( 0.7705) .....................................................o +( 0.6845) ..................................................o +( 0.5878) ...............................................o +( 0.4818) ............................................o +( 0.3681) .........................................o +( 0.2487) .....................................o +( 0.1253) .................................o +(-0.0000) .............................o +(-0.1253) ..........................o +(-0.2487) ......................o +(-0.3681) ..................o +(-0.4818) ...............o +(-0.5878) ............o +(-0.6845) .........o +(-0.7705) ......o +(-0.8443) ....o +(-0.9048) ..o +(-0.9511) .o +(-0.9823) o +(-0.9980) o +(-0.9980) o +(-0.9823) o +(-0.9511) .o +(-0.9048) ..o +(-0.8443) ....o +(-0.7705) ......o +(-0.6845) .........o +(-0.5878) ............o +(-0.4818) ...............o +(-0.3681) ..................o +(-0.2487) ......................o +(-0.1253) ..........................o diff --git a/aarch32-tests/tests/tests.rs b/aarch32-tests/tests/tests.rs index 73a1154..8a44e9e 100644 --- a/aarch32-tests/tests/tests.rs +++ b/aarch32-tests/tests/tests.rs @@ -128,6 +128,18 @@ const MATRIX: &[Group] = &[ rustflags: None, variants: &[PLAIN], }, + Group { + example: "xilinx-zynq-a9", + targets: &[ + "armv7a-none-eabi", + "thumbv7a-none-eabi", + "armv7a-none-eabihf", + "thumbv7a-none-eabihf", + ], + flags: &["--release", "--features=fpu-d32", "--target-dir=target-d32"], + rustflags: Some("-Ctarget-cpu=cortex-a9"), + variants: &[FPU], + }, ]; fn main() { diff --git a/arm-targets/Cargo.toml b/arm-targets/Cargo.toml index 5fbe3fa..7632bfa 100644 --- a/arm-targets/Cargo.toml +++ b/arm-targets/Cargo.toml @@ -8,7 +8,6 @@ description = "Compile-time feature detection for Arm processors" edition = "2021" license = "MIT OR Apache-2.0" name = "arm-targets" -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" homepage = "https://github.com/rust-embedded/aarch32" rust-version = "1.93" diff --git a/examples/mps3-an536-el2/Cargo.toml b/examples/mps3-an536-el2/Cargo.toml index a35fbd4..d9a5a55 100644 --- a/examples/mps3-an536-el2/Cargo.toml +++ b/examples/mps3-an536-el2/Cargo.toml @@ -10,7 +10,6 @@ homepage = "https://github.com/rust-embedded/aarch32" license = "MIT OR Apache-2.0" name = "mps3-an536-el2" publish = false -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" version = "0.0.0" @@ -19,8 +18,6 @@ aarch32-cpu = { path = "../../aarch32-cpu", features = ["critical-section-multi- aarch32-rt = { path = "../../aarch32-rt", features = ["el2-mode"] } arm-gic = "0.8.1" critical-section = "1.2.0" -heapless = "0.9.1" -libm = "0.2.15" semihosting = { version = "0.1.18", features = ["stdio"] } [build-dependencies] diff --git a/examples/mps3-an536/Cargo.toml b/examples/mps3-an536/Cargo.toml index 6410c60..63ea6c0 100644 --- a/examples/mps3-an536/Cargo.toml +++ b/examples/mps3-an536/Cargo.toml @@ -10,7 +10,6 @@ homepage = "https://github.com/rust-embedded/aarch32" license = "MIT OR Apache-2.0" name = "mps3-an536" publish = false -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" version = "0.0.0" diff --git a/examples/mps3-an536/src/bin/c_test.rs b/examples/mps3-an536/src/bin/c-test.rs similarity index 100% rename from examples/mps3-an536/src/bin/c_test.rs rename to examples/mps3-an536/src/bin/c-test.rs diff --git a/examples/mps3-an536/src/bin/generic_timer_irq.rs b/examples/mps3-an536/src/bin/generic-timer-irq.rs similarity index 100% rename from examples/mps3-an536/src/bin/generic_timer_irq.rs rename to examples/mps3-an536/src/bin/generic-timer-irq.rs diff --git a/examples/mps3-an536/src/bin/generic_timer.rs b/examples/mps3-an536/src/bin/generic-timer.rs similarity index 100% rename from examples/mps3-an536/src/bin/generic_timer.rs rename to examples/mps3-an536/src/bin/generic-timer.rs diff --git a/examples/mps3-an536/src/bin/mpu_setup.rs b/examples/mps3-an536/src/bin/mpu-setup.rs similarity index 100% rename from examples/mps3-an536/src/bin/mpu_setup.rs rename to examples/mps3-an536/src/bin/mpu-setup.rs diff --git a/examples/versatileab/Cargo.toml b/examples/versatileab/Cargo.toml index cefc0c6..b7844b7 100644 --- a/examples/versatileab/Cargo.toml +++ b/examples/versatileab/Cargo.toml @@ -10,7 +10,6 @@ homepage = "https://github.com/rust-embedded/aarch32" license = "MIT OR Apache-2.0" name = "versatileab" publish = false -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" version = "0.0.0" diff --git a/examples/versatileab/src/bin/c_test.rs b/examples/versatileab/src/bin/c-test.rs similarity index 100% rename from examples/versatileab/src/bin/c_test.rs rename to examples/versatileab/src/bin/c-test.rs diff --git a/examples/versatileab/src/bin/generic_timer.rs b/examples/versatileab/src/bin/generic-timer.rs similarity index 100% rename from examples/versatileab/src/bin/generic_timer.rs rename to examples/versatileab/src/bin/generic-timer.rs diff --git a/examples/xilinx-zynq-a9/Cargo.toml b/examples/xilinx-zynq-a9/Cargo.toml index 6313c87..667431f 100644 --- a/examples/xilinx-zynq-a9/Cargo.toml +++ b/examples/xilinx-zynq-a9/Cargo.toml @@ -9,7 +9,6 @@ homepage = "https://github.com/rust-embedded/aarch32" license = "MIT OR Apache-2.0" name = "xilinx-zynq-a9" publish = false -readme = "README.md" repository = "https://github.com/rust-embedded/aarch32.git" version = "0.0.0" @@ -18,11 +17,8 @@ aarch32-cpu = { path = "../../aarch32-cpu", features = ["critical-section-multi- aarch32-rt = { path = "../../aarch32-rt" } arbitrary-int = "2.1.1" arm-gic = "0.8.1" -c-code = { version = "0.1.0", path = "../c-code" } critical-section = "1.2.0" -heapless = "0.9.1" libm = "0.2.15" -portable-atomic = { version = "1.11.1", features = ["critical-section"] } semihosting = { version = "0.1.18", features = ["stdio"] } [build-dependencies] diff --git a/examples/xilinx-zynq-a9/src/bin/fpu-test.rs b/examples/xilinx-zynq-a9/src/bin/fpu-test.rs new file mode 100644 index 0000000..1e2aa7e --- /dev/null +++ b/examples/xilinx-zynq-a9/src/bin/fpu-test.rs @@ -0,0 +1,36 @@ +//! Simple FPU test + +#![no_std] +#![no_main] + +use aarch32_rt::entry; +use semihosting::println; +use xilinx_zynq_a9 as _; + +static BAR: &str = "............................................................"; +const MAX_LEN: f32 = BAR.len() as f32; + +/// The entry-point to the Rust application. +/// +/// It is called by the start-up code in `aarch32-rt`. +#[entry] +fn main() -> ! { + const STEPS: u16 = 100; + const RADIANS_PER_STEP: f32 = (4.0 * core::f32::consts::PI) / (STEPS as f32); + println!("Sine wave test (f32)..."); + for row in 0..STEPS { + let angle = (row as f32) * RADIANS_PER_STEP; + let sine = libm::sinf(angle); + let bar_len = ((sine + 1.0) * (MAX_LEN / 2.0)) as usize; + println!("({:7.04}) {:.*}o", sine, bar_len, BAR); + } + + println!("Sine wave test (f64)..."); + for row in 0..STEPS { + let angle = (row as f64) * f64::from(RADIANS_PER_STEP); + let sine = libm::sin(angle); + let bar_len = ((sine + 1.0) * (f64::from(MAX_LEN) / 2.0)) as usize; + println!("({:7.04}) {:.*}o", sine, bar_len, BAR); + } + xilinx_zynq_a9::exit(0); +} diff --git a/rust-toolchain.toml b/rust-toolchain.toml index beeb4b2..6080343 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2026-06-04" +channel = "nightly-2026-09-03" targets = [ "armv7a-none-eabi", "armv7a-none-eabihf", From 425905454dded5a4c5e97d3f57b2787964a20000 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Fri, 4 Sep 2026 18:02:54 +0100 Subject: [PATCH 3/3] Run tests single-threaded I hope this might stop the QEMU hangs in CI? --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 7d851ce..932c734 100644 --- a/justfile +++ b/justfile @@ -9,7 +9,7 @@ verbose := if v == "1" { "--verbose" } else { "" } # The aarch32-tests harness invocation shared by every test-qemu recipe. Each # recipe appends a name filter; the build matrix lives in the harness itself. -qemu_test := "cargo test -p aarch32-tests --test tests --" +qemu_test := "cargo test -p aarch32-tests --test tests -- --test-threads=1" # Our default target. It does everything that you might want to do pre-checkin. check: build-all build-all-examples doc-all fmt-check clippy-all test