diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-07-07 22:30:34 +0200 |
---|---|---|
committer | Alessandro Gatti <a.gatti@frob.it> | 2025-09-19 15:52:20 +0200 |
commit | 965c77ade9512532529379e26b37eaa7ed4a6e02 (patch) | |
tree | 0c2e1c46376fecf2ce0ac524d298fcf2c409fed8 /tests/internal_bench/class_instance-0-object.py | |
parent | cb7ca6f1bc9c77969d465025f63afdd96892577a (diff) |
mpy-cross/main: Add support for RV32 Zba opcodes.
This commit adds a new command line switch to inform the RV32 emitter to
use Zba opcodes in its output.
A new implementation-specific option was introduced, called
"-march-flags", that will contain a list of additional
architecture-specific flags to pass to the chosen native emitter
implementation.
At the moment only the RV32 emitter can make use of this command line
facility: if the architecture flags string equals to "zba"
(case-sensitive), then the native emitter will emit Zba opcodes if it
has a chance to do so.
At the moment there is no check on whether additional architecture flags
using to build a MPY file are compatible with the target the output code
is run on, so use this with caution.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tests/internal_bench/class_instance-0-object.py')
0 files changed, 0 insertions, 0 deletions