Commit Graph

49 Commits

Author SHA1 Message Date
Yang Liu
8398799e1c
[CI] Added xtheadvector testing (#1894) 2024-10-02 17:50:47 +02:00
Yang Liu
4e63b82f5e
[CI] Refactored CI (#1795)
* [CI] Enable Box32 tests on LA64

* upgrade QEMU

* [COSIM] Removed thread-safe tests

* Use regular cosim in CI

* [CI] Simplified "Test Box64"

* exclude certain tests when testing with cosim

* review

* box64.pod too
2024-09-05 11:07:27 +02:00
Yang Liu
c1ad6b5829
[CI] Speedup CI by removing some unnecessary targets (#1790) 2024-09-04 09:59:27 +02:00
Yang Liu
e23eb14809
[RV64_DYNAREC] Added xthead* extensions to the new printer (#1781) 2024-08-31 07:47:28 +02:00
Yang Liu
95b38b7f79
[CI] Added 60s timeout per test (#1777) 2024-08-30 13:24:15 +02:00
Yang Liu
abbaf9b593
[BOX32][RV64_DYNAREC] Fixed more issues and enable CI for box32 (#1767)
* [BOX32][RV64_DYNAREC] Fixed more issues

* fix

* fix

* enable Ci for box32

* add some comments
2024-08-28 19:48:22 +02:00
ptitSeb
b5105a1e57
Added preliminary Box32 support (#1760)
* Improve the ReserveHigMemory helper function

* [BOX32] Added some wrapping infrastructure

* [BOX32] More wrapped 32bits lib infrastructure

* [BOX32] Added callback and tls 32bits handling

* [BOX32] Added more 32bits, around wrappers and elfs

* [BOX32] Added the 32bits version of myalign

* [BOX32] More wrapped libs and 32bits fixes and imrpovments

* [BOX32] Added some 32bits tests

* [BOX32] Try to enable some Box32 build and test on the CI

* [BOX32] Disable Box32 testing on CI platform that use qemu

* [BOX32] Another attempt to disable Box32 testing on CI platform that use qemu

* [BOX32] Small fix for another attempt to disable Box32 testing on CI platform that use qemu

* [BOX32] Yet another fix for another attempt to disable Box32 testing on CI platform that use qemu

* [BOX32] Fixed a typo in CI script

* [BOX32] Better scratch alighnment and enabled more tests

* [BOX32] Added (partial) wrapped 32bits librt

* [BOX32] Added mention of Box32 in README

* [BOX32] Added phtread handling, and numerous fixes to 32bits handling. [ARM64_DYNAREC] Fixed access to segment with negative offset

* [BOX32] Added system libs and cpp testing, plus some more fixes

* [BOX32] Fix previous commit

* [BOX32] Better stack adjustment for 32bits processes

* [BOX32] Added getenv wrapped 32bits function and friends

* [BOX32] Don't look for box86 for a Box32 build

* [BOX32] Don't do 32bits cppThreads test for now on CI

* [BOX32] Enabled a few more 32bits tests

* [BOX32] For ld_lib_path for both CppThreads tests

* [BOX32] [ANDROID] Some Fixes for Android Build

* [BOX32] Still need to disable cppThread_32bits test on CI for some reason

* [BOX32] [ANDROID] Don't show PreInit Array Warning (#1751)

* [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to … (#1752)

* [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to push before

* [BOX32] [ANDROID] Try to Create __libc_init

* [BOX32] [ANDROID] Try to disable NEEDED_LIBS for now (libdl is not wrapped)

* [BOX32] Updated generated files

* [BOX32] Added 32bits context functions

* [BOX32] Added 32bits signal handling

* [BOX32] Added some missing 32bits elfloader functions

* [BOX32] Fix build on x86_64 machine

* [BOX32] Better fix for x86_64 build

* [BOX32] Actually added missing libs, and re-enabled cppThreads_32bits test

* [BOX32] Added wrapped 32bits libdl

* [BOX32] Try to re-enabled Box32 test on CI for ARM64 builds

* [BOX32] fine-tuning Box32 test on CI for ARM64 builds

* [BOX32] More fine-tuning to Box32 test on CI for ARM64 builds

* [BOX32] Enabled Box32 test on CI for LA64 and RV64 builds too

* [BOX32] re-Disabled Box32 test on CI for LA64 and RV64 builds, not working for now

* [BOX32] Temporarily disabled cppThreads_32bits test on CI

---------

Co-authored-by: KreitinnSoftware <pablopro5051@gmail.com>
Co-authored-by: KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>
2024-08-26 17:45:13 +02:00
Yang Liu
4407a17551
[RV64_DYNAREC] Fixed fpu_flags handling and enabled cosim in CI (#1722)
* [RV64_DYNAREC] Fixed fpu_flags handling

* repeat until-pass
2024-08-09 13:31:58 +02:00
Yang Liu
9c1b015689
[RV64_DYNAREC] Fixed vector infra (#1705) 2024-07-22 21:45:54 +02:00
ptitSeb
d10a078473 [STATICBUILD] removed Android staticbuild 2024-07-10 16:37:46 +02:00
ptitSeb
f7d9dd4824 [STATICBUILD] Try to fix staticbuild and add it to the CI (for #1377) 2024-07-10 12:15:27 +02:00
Yang Liu
eb695d5553
[RV64_DYNAREC] Added preliminary RVV infra and PXOR opcode for demonstration (#1632)
* [RV64_DYNAREC] Added preliminary RVV infra and PXOR opcode for demonstration

* keep sse_cache_s uint8_t as suggested

* use xor to do the wrap

* revert

* better fallback
2024-07-04 12:39:05 +02:00
Yang Liu
86e9a38384
[COSIM] Added thread-safe tests (#1477)
* [COSIM] Added thread-safe tests

* Added more notest

* Run cosim in CI

* Disable tests for RISC-V for now

* Simplify

* Initialize notest
2024-04-30 16:36:48 +02:00
Yang Liu
ae386b3a7d
[LA64_DYNAREC] Added more opcodes (#1473)
* Added 66 0F PSHUFB opcode

* Added 66 0F PHADDW opcode

* Added 66 0F 38 02 PHADDD opcode

* Added 66 0F 38 03 PHADDSW opcode

* Added 66 0F 38 04 PMADDUBSW opcode

* Added 66 0F 38 05..0A opcodes

* Upgrade QEMU
2024-04-27 18:33:58 +02:00
Yang Liu
2a75d28386
[LA64_DYNAREC] Fixed missing LBT path and more (#1419)
* [LA64_DYNAREC] Fixed missing LBT path and more

* Fixed D3 /4/6 SHL opcode

* LA64 qemu is not stable too
2024-04-06 08:49:37 +02:00
Tristan Morgan
6384cc6e86
Update GH-Actions workflows to remove Node.js deprecation warning. (#1359) 2024-03-14 08:36:53 +01:00
Yang Liu
829c254b1f
[LA64_DYNAREC] Added 70-7F Jcc opcodes, refine printer and some fixes too (#1307)
* [LA64_DYNAREC] Added 70-7F Jcc opcodes and some fixes too

* [LA64_DYNAREC] Added more instructions to the printer and made the format prettier

* Make LBT truely optional

* Do not test LBT in CI

* Format

* Optimize

* Fixed printer format

* Fixed CLEAR_FLAGS macro

* Fixed xMASK

* Use $r22 ($sp) in the prolog/epilog for better semantics

* Fixed la64_next
2024-03-02 09:45:55 +01:00
Yang Liu
da1ac7beee
[LA64_DYNAREC] Added basic LBT support, setup xMASK (#1302)
* [LA64] Added basic LBT support, setup xMASK

* [CI] Run tests without LBT
2024-02-29 16:11:52 +01:00
Yang Liu
0e71c3a2ac
[CI] Added loongarch64 (#1298) 2024-02-29 08:49:47 +01:00
Yang Liu
6cffabacb3
[CI] Repeat until-pass for unstable platform (#1292)
* [CI] Repeat until-pass for unstable platform

Also removes useless --rerun-failed

* Fix
2024-02-28 08:11:29 +01:00
KreitinnSoftware
477e531af9
[ANDROID] Fix Build When Compiling with NDK 26b, [CI] Download Basic Android Libs from 'termux-docker' and update NDK to 26b (#1270)
* [CI] Download Basic Android Libs from termux-docker for speed-up CI build

* [ANDROID] Fix 'SHT_CHECKSUM' error when compiling on NDK 26b

* [CI] Update NDK for 26b
2024-02-17 19:26:49 +01:00
KreitinnSoftware
549e042e67
[CI] Add Android Tests (#1263)
* [CI] Add Android Tests

* Remove a Build of Box64 that I placed and forgot to remove before

* Fix some tests checking

* Disable Test07 and Test17 for now

* Comment set_tests_proprieties (I have forgotten)

* Add mmx test and benchfloat for Android

* Fix build for Clang-17 on non-Termux

* Update NDK to 26b and add Termux Build/Testing

* Revert to NDK 25b, something is wrong

* Add -DTERMUX=1 to Termux Build

* Add LD_LIBRARY_PATH for Termux Testing

* Set LD_LIBRARY_PATH on QEMU_SET_ENV

* Move data folder to current dir before testing on Termux

* Copy Termux Data Libs for /data

* Try to set QEMU_SET_ENV on GITHUB_ENV

---------

Co-authored-by: Pablo Carlos <pablo@localhost.localdomain>
2024-02-14 09:14:01 +01:00
KreitinnSoftware
fc63442ded
Add 'BOX64_MMAP32' to help info (#1220)
* Add 'BOX64_MMAP32' to help info

* [CI] Update NDK to 25b for Android Builds
2024-01-26 08:20:53 +01:00
Martin Sundhaug
9b7b91651d
Raspberry Pi 5 support (#1138)
* Basic RPi5 support

* Split RPi5 in 16k page-size variant and not

* Update COMPILE.md

Add documentation about 16K page support
2023-12-14 21:34:20 +01:00
Yang Liu
b82b730bf9
[CI] Do not regenerate functions list when running in CI (#1028) 2023-10-15 15:06:42 +02:00
ptitSeb
d95ef48d22 Added ADLink AmpereAltra profile 2023-09-25 19:33:33 +08:00
Yang Liu
ab65641eae
[CI] Run tests w/ and w/o DynaRec (#988) 2023-09-24 17:37:16 +02:00
Yang Liu
6c0781c157
[CI] Use qemu snapshots from archlinux archive (#987) 2023-09-24 08:54:59 +01:00
Yang Liu
13b7398b3a
[CI] Upgrade QEMU to 8.1.0 (#973) 2023-09-12 18:21:35 +02:00
Yang Liu
50cf9c0e67
[CI] Test RISCV with bit-manipulation extensions on (#972)
* [CI] Test RISCV with bit-manipulation extensions on

xthead extensions require qemu 8.1.0, therefore not available in CI

* fix ADDSL
2023-09-12 16:08:12 +02:00
ptitSeb
8a25b91ad2 [ANDROID] typo, typo, and typo 2023-09-02 16:22:58 +02:00
ptitSeb
cacd7dd2eb [ANDROID] Don't run ctest on Android build 2023-09-02 15:57:56 +02:00
ptitSeb
30eae8f513 [ANDROID] Fix name of android compiler 2023-09-02 12:06:52 +02:00
ptitSeb
2d37575f3d [ANDROID] Try to create an Android build, porting box86 Android build 2023-09-02 11:56:20 +02:00
ptitSeb
903ecd207d Added generic ARM64 build profile 2023-07-14 12:03:30 +02:00
Yang Liu
d052603335
[CI] Avoid copying files (#584) 2023-03-18 19:00:26 +01:00
Yang Liu
241cec6e43
Enable test for RV64 and ARM64 in CI (#583)
If we can pass the environment variable `QEMU_LD_PREFIX=/usr/{riscv64,aarch64}-linux-gnu/lib/`
to ctest, it should also work and be cleaner, but I don't know how to do it as
I am not familiar with cmake.

Note that TEGRAX1 is not currently working because of a mismatch in GLIBC version.
Therefore, we skipped this platform.

Co-authored-by: xctan <xctan@cirno.icu>
2023-03-18 07:38:02 +01:00
ptitSeb
ce61d27d8d
Use Ubuntu 20.04 for Tegra build
The 18.04 is deprecated by GitHub and will be removed soon.
2023-02-21 21:11:44 +01:00
ptitSeb
33a8befbcf
Changed workflow manual build for RK3588 too 2023-02-18 09:12:12 +01:00
ptitSeb
4f66a419e3
Build RK3588 on Workflow 2023-02-18 09:10:55 +01:00
ptitSeb
893fc7c940
Update release.yml 2022-11-27 10:19:24 +01:00
theofficialgman
39f70c0956
change order of matrix (to preview better under checkmark dropdown (#346) 2022-07-05 22:14:13 +02:00
theofficialgman
0674636243
add 18.04 for tegra-x1 github actions (#345)
remove from ubuntu-latest as well
2022-07-05 22:01:01 +02:00
ptitSeb
4ee2888711
Try to build RISC-V 2022-02-27 14:36:30 +01:00
Seas0
42ab23a833 Sync configuration from box86 2022-01-07 16:43:52 +08:00
Seas0
f3b300e9e0 Fix the typo of CMakeLists.txt in Github Action configuration 2022-01-01 00:23:32 +08:00
Jai A P
8130c110eb
Fix typo box86 -> box64 2021-11-20 13:08:34 +05:30
ptitSeb
7042a1ae30
Try to use Github Actions 2021-11-19 21:52:10 +01:00
ptitSeb
de8b4da6b5
Create FUNDING.yml 2021-07-03 14:46:14 +02:00