Try to keep our Python sources compatible with both Python 2.7 and 3. Check with 'pylint --py3k' and 'python -3'.
18 lines
435 B
Python
18 lines
435 B
Python
"""
|
|
Cretonne target ISA definitions
|
|
-------------------------------
|
|
|
|
The :py:mod:`isa` package contains sub-packages for each target instruction set
|
|
architecture supported by Cretonne.
|
|
"""
|
|
from __future__ import absolute_import
|
|
from . import riscv
|
|
|
|
|
|
def all_isas():
|
|
"""
|
|
Get a list of all the supported target ISAs. Each target ISA is represented
|
|
as a :py:class:`cretonne.TargetISA` instance.
|
|
"""
|
|
return [riscv.isa]
|