Commit graph

99 commits

Author SHA1 Message Date
Wunkolo 94c726ce03 oaknut: Add PAUTH instructions 2024-03-01 20:22:03 +00:00
Wunkolo 1ca13c3b63 oaknut: Add FCMA instructions
Adds the FCADD and FCMLA instructions
2024-03-01 20:22:03 +00:00
Wunkolo f7b0a1afa7 oaknut: Add LRCPC instructions
These are only the LRCPC instructions(`LDAPR*`) and not LRCPC2 or
LRCPC3.
2024-03-01 20:22:03 +00:00
Wunkolo 65285fd8d8 oaknut: Add FJCVTZS instruction 2024-03-01 20:22:03 +00:00
Wunkolo 3ca6733089 oaknut: Init armv8.3 instructions includes 2024-03-01 20:22:03 +00:00
Merry 6b1d57ea7e oaknut: 2.0.2 2024-01-30 12:15:01 +00:00
Merry 143a3dcbed oaknut: github: Build on x86-64 2024-01-30 11:42:58 +00:00
Merry 496ff1b546 oaknut: tests: Only run arm64-specific tests on arm64 2024-01-30 11:42:58 +00:00
Alexandre Bouvier 8395b79cf2 cmake: make tests optional 2024-01-29 21:07:35 +00:00
Merry 9d091109de oaknut: 2.0.1 2024-01-28 16:46:06 +00:00
Merry 7f3e9f600e oaknut: Support single argument constructor for CodeGenerator again 2024-01-28 16:45:21 +00:00
Merry d0488d9320 oaknut: 2.0.0 2024-01-28 14:46:03 +00:00
Merry 40ad78bbf7 oaknut: Implement DualCodeBlock and related support 2024-01-28 14:38:26 +00:00
Castor216 9f131cfb5d oaknut: add configuration for standalone installation 2024-01-20 22:02:18 +00:00
Merry 69799b43c6 oaknut: Test building for Android on CI 2024-01-20 13:14:25 +00:00
Merry 1d51f55129 oaknut: 1.2.2 2023-12-10 20:12:13 +00:00
Merry 918bd94f02 oaknut: Eliminate -Wconversion warnings 2023-11-23 21:00:58 +00:00
Merry 316d8869e8 oaknut: Fix edgecases in MOVP2R on +/-4GiB boundary 2023-11-17 23:20:17 +00:00
Merry d8634eaa1f oaknut: Fix page boundary error in ADP 2023-11-17 23:05:01 +00:00
Merry d0ca9a24e6 oaknut: Update README examples for CPU feature detection 2023-10-29 19:22:13 +00:00
Merry dbeec268b7 oaknut: feature_detection_freebsd: Warn about incompatibility with earlier FreeBSD versions 2023-10-29 18:46:06 +00:00
Merry 86e5386e27 oaknut: feature_detect: Support NetBSD 2023-10-29 18:46:06 +00:00
Merry df4cf2d485 oaknut: feature_detect: Support OpenBSD 2023-10-29 18:46:06 +00:00
Merry 99dfff25ac oaknut: feature_detection: Read ID registers 2023-10-29 18:46:06 +00:00
Merry 319b3d2c9f oaknut: Add basic CPU feature detection 2023-10-29 18:46:06 +00:00
Merry 23e9ddb4c4 oaknut: CI: Don't run slow tests on OpenBSD 2023-10-29 17:10:54 +00:00
Merry 734f1bdb44 oaknut: CI: Use up-to-date qemu 2023-10-29 15:35:14 +00:00
Merry f462c97747 oaknut: CI: Build on OpenBSD 2023-10-29 15:33:28 +00:00
Merry 19cd42204e oaknut: code_block: Add NetBSD and OpenBSD support 2023-10-29 15:01:22 +00:00
Merry 18b86a3ecf oaknut: SystemReg: Add more EL0 accessible registers 2023-10-28 09:47:35 +01:00
Merry 53c43bf0c6 oaknut/tests: Reduce iterations for MOVP2R 2023-10-25 18:20:50 +01:00
Merry cc37df19e2 oaknut: Test on FreeBSD 2023-10-22 21:13:35 +01:00
Merry a66b32d263 oaknut: Fix crossing sign boundary in PageOffset 2023-10-22 21:13:29 +01:00
Wunkolo 206468d721 oaknut: CI: Add macos-arm64 build
Similar to the msvc-arm64 builds, this will verify a successful build
but does not run any of the tests due to the architecture of the
runner-images. A later PR may add testing support via qemu which is
available on homebrew.
2023-10-12 22:09:20 +01:00
Merry e6eecc3f94 oaknut: 1.2.1 2023-10-09 22:09:11 +01:00
Merry 4252d8f4ae oaknut: CMakeLists: Warnings are errors on MSVC 2023-10-09 22:08:29 +01:00
Merry 408eed65f8 oaknut: arm64_encode_helpers: remove unreachable code 2023-10-09 22:03:39 +01:00
Merry bfc8eedfb2 oaknut: arm64_encode_helpers: p maybe unused 2023-10-09 22:02:30 +01:00
Merry ff4456ecab oaknut: Avoid negation of unsigned values 2023-10-09 21:59:35 +01:00
Merry b4ac8fd6c1 oaknut: Fix MOV for applications of MOVN 2023-10-09 21:43:56 +01:00
Merry 0575cadc49 oaknut: Disable certain functionality where absolute addressing is not available 2023-10-09 21:43:25 +01:00
Merry 394a3c8f0a oaknut: Appease MSVC 2023-10-09 21:19:51 +01:00
Merry 0111836704 oaknut: 1.2.0 2023-10-09 01:49:24 +01:00
Merry e83c9f3276 oaknut: Add VectorCodeGenerator 2023-10-09 01:49:24 +01:00
Merry 5eb122cc58 oaknut: Tidy up public header 2023-10-09 01:33:13 +01:00
Wunkolo 45c5a7b25b oaknut: Fix clang-format errors
Fixes some duplicate mapping key errors that occur when trying to run
clang-format.

```
.../oaknut/.clang-format:9:1: error: duplicated mapping key 'AlignConsecutiveMacros'
AlignConsecutiveMacros: None
^~~~~~~~~~~~~~~~~~~~~~
Error reading .../oaknut/.clang-format: Invalid argument
```
2023-10-08 09:56:30 +01:00
Wunkolo 36243256f3 oaknut: Add const qualifier to AddrOffset ctor
Can't seem to tell if this is intentionally non-const, or not, but this
fixes some function-pointer issues I was facing on MacOS.
2023-09-29 00:44:20 +01:00
Wunkolo 4af500cb5b oaknut: Add ptr accessor to Label
Accesses the underlying `m_addr` for a `Label`. Allows client code to
derive the actual memory location of a `Label`. Also adds `is_bound` to
ensure the Label has an actual address.
2023-09-21 05:54:57 +01:00
Wunkolo bccb06669f oaknut: CodeGenerator const correctness
Adds `const` qualifier to some functions so that const CodeGenerator
objects can be operated upon.
2023-09-20 23:29:33 +01:00
Merry da0590a860 oaknut: github: Update package repositories 2023-04-27 21:35:36 +01:00