Add stubs for Intel and ARM architectures.
The Intel ISA handles both 32-bit and 64-bit code. ARM is split into separate arm32 and arm64 ISAs since the architectures have little in common in instruction encodings and register files.
This commit is contained in:
22
lib/cretonne/meta/isa/intel/__init__.py
Normal file
22
lib/cretonne/meta/isa/intel/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
Intel Target Architecture
|
||||
-------------------------
|
||||
|
||||
This target ISA generates code for Intel CPUs with two separate CPU modes:
|
||||
|
||||
`I32`
|
||||
IA-32 architecture, also known as 'x86'. Generates code for the Intel 386
|
||||
and later processors in 32-bit mode.
|
||||
`I64`
|
||||
Intel 64 architecture, also known as 'x86-64, 'x64', and 'amd64'. Intel and
|
||||
AMD CPUs running in 64-bit mode.
|
||||
|
||||
Floating point is supported only on CPUs with support for SSE2 or later. There
|
||||
is no x87 floating point support.
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
from . import defs
|
||||
|
||||
# Re-export the primary target ISA definition.
|
||||
ISA = defs.ISA.finish()
|
||||
Reference in New Issue
Block a user