Skip to content

Commit 096622b

Browse files
authored
Merge pull request #489 from boriel/feature/refact_core_labels
Feature/refact core labels
2 parents b541f23 + d373b33 commit 096622b

51 files changed

Lines changed: 16845 additions & 387 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/arch/zx48k/backend/__16bit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from .__common import log2
1414
from .__common import is_2n, _int_ops, tmp_label
1515
from .__common import runtime_call
16-
from .runtime_labels import Labels as RuntimeLabel
16+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
1717

1818
from .__8bit import _8bit_oper
1919

src/arch/zx48k/backend/__32bit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from .__common import REQUIRES, is_int, _int_ops, tmp_label
1616
from .__common import runtime_call
17-
from .runtime_labels import Labels as RuntimeLabel
17+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
1818
from .__8bit import _8bit_oper
1919

2020

src/arch/zx48k/backend/__8bit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# --------------------------------------------------------------
1212

1313
from .__common import is_int, is_2n, _int_ops, tmp_label
14-
from .runtime_labels import Labels as RuntimeLabel
14+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
1515
from .__common import runtime_call
1616

1717

src/arch/zx48k/backend/__array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from .__common import REQUIRES, is_int
1515
from .__common import runtime_call
16-
from .runtime_labels import Labels as RuntimeLabel
16+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
1717
from .__f16 import _f16_oper
1818
from .__float import _fpush, _float_oper
1919
from .errors import InvalidICError

src/arch/zx48k/backend/__common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from typing import Set
99

1010
import src.api.errors
11-
from .runtime_labels import RUNTIME_LABELS
12-
from .runtime_labels import LABEL_REQUIRED_MODULES
11+
from .runtime import RUNTIME_LABELS
12+
from .runtime import LABEL_REQUIRED_MODULES
1313

1414

1515
MEMORY = [] # Must be initialized by with init()

src/arch/zx48k/backend/__f16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from .__common import is_float, _f_ops
1515
from .__common import runtime_call
16-
from .runtime_labels import Labels as RuntimeLabel
16+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
1717

1818
from .__32bit import _add32, _sub32, _lti32, _gti32, _gei32, _lei32, _ne32, _eq32
1919
from .__32bit import _and32, _xor32, _or32, _not32, _neg32, _abs32

src/arch/zx48k/backend/__float.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
from .__common import is_float, _f_ops
1616
from .__common import runtime_call
17-
from .runtime_labels import Labels as RuntimeLabel
18-
from .runtime_labels import RUNTIME_LABELS
17+
from .runtime import Labels as RuntimeLabel
18+
from .runtime import RUNTIME_LABELS
1919

2020
# -----------------------------------------------------
2121
# Floating Point operators

src/arch/zx48k/backend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
import src.api.fp
9898

9999
from .__common import runtime_call
100-
from .runtime_labels import Labels as RuntimeLabel
100+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
101101

102102
__all__ = [
103103
'_fpop',

src/arch/zx48k/backend/__parray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from .__common import runtime_call
1515
from .__float import _fpush
1616
from .__f16 import f16
17-
from .runtime_labels import Labels as RuntimeLabel
17+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
1818

1919

2020
def _paddr(offset):

src/arch/zx48k/backend/__pload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from .__32bit import _32bit_oper
1818
from .__f16 import _f16_oper
1919
from .__float import _fpush, _float_oper
20-
from .runtime_labels import Labels as RuntimeLabel
20+
from src.arch.zx48k.backend.runtime import Labels as RuntimeLabel
2121

2222

2323
def _paddr(ins):

0 commit comments

Comments
 (0)