diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-05-07 20:31:38 +0200 |
---|---|---|
committer | Alessandro Gatti <a.gatti@frob.it> | 2025-05-21 02:00:40 +0200 |
commit | 2260fe0828a87b511ad69c0314ecdcb36b66a2cf (patch) | |
tree | 3298bd52bbf17f5431d5d28909de2ce91bf6fea8 /py/runtime.c | |
parent | e66a6022e2a3263de6f2fa383d4c7d2c4c1cf359 (diff) | |
download | micropython-2260fe0828a87b511ad69c0314ecdcb36b66a2cf.tar.gz micropython-2260fe0828a87b511ad69c0314ecdcb36b66a2cf.zip |
tests/micropython/viper_ptr: Add tests for arch edge cases.
This commit adds a series of test cases to exercise the Viper code
generator load/store emitting capabilities on certain boundary
conditions.
The new test cases check whether the emitted load/store code performs
correctly when dealing with specific memory offsets, which trigger
specific code generation sequences on different architectures.
Right now the cases are for unsigned offsets whose bitmasks span up to
5, 8, and 12 bits (respectively Arm/Thumb, Xtensa, RV32).
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/runtime.c')
0 files changed, 0 insertions, 0 deletions