Skip to content

Conversation

@jjkt
Copy link
Owner

@jjkt jjkt commented Jan 1, 2025

This pull request includes several changes across different files to enhance functionality, improve code structure, and update test scripts. The most important changes include modifying return types and error handling in src/main.rs, adding new floating-point register operations, and updating test scripts for better error handling and documentation.

Modifications to return types and error handling:

  • src/main.rs: Changed the return type of run_bin and run functions from Result<()> to Result<u32>, and updated the main function to handle the new return type and exit with the appropriate code. [1] [2] [3] [4] [5] [6]

Enhancements to floating-point operations:

Updates to test scripts:

  • test_gcc.sh: Rearranged the order of GCC tests, added error handling to abort on test failure, and improved the output for better readability. [1] [2]
  • tests/instruction-test-bench/main.c: Added detailed comments and new test cases for ARM Cortex-M instructions, including floating-point operations. [1] [2] [3]

Code structure improvements:

Miscellaneous changes:

@jjkt jjkt merged commit 5986099 into master Jan 1, 2025
1 check passed
@jjkt jjkt deleted the semihost-extended-exit-vabs branch January 1, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants