summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.c
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-05-07 20:31:38 +0200
committerAlessandro Gatti <a.gatti@frob.it>2025-05-21 02:00:40 +0200
commit2260fe0828a87b511ad69c0314ecdcb36b66a2cf (patch)
tree3298bd52bbf17f5431d5d28909de2ce91bf6fea8 /py/runtime.c
parente66a6022e2a3263de6f2fa383d4c7d2c4c1cf359 (diff)
downloadmicropython-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