Skip to content

Commit

Permalink
Merge branch 'wip/ppc-lynx178' into 'master'
Browse files Browse the repository at this point in the history
ppc-lynx178: move to ada math functions and disable FPU

See merge request eng/toolchain/bb-runtimes!147
  • Loading branch information
Helflym committed Dec 10, 2024
2 parents 2456f9b + c4d168f commit f181b6a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions lynx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ def __init__(self):
def has_libc(self, profile):
return True

@property
def has_single_precision_fpu(self):
return True

@property
def has_double_precision_fpu(self):
return True

@property
def is_os_target(self):
return True
Expand All @@ -35,6 +27,12 @@ class PPCLynx(Lynx):
def __init__(self):
super().__init__()

@property
def has_double_precision_fpu(self):
# Disable FPU support. Otherwise, `__builtins_*` could fallbacks
# on missing features of LynxOS libm.
return False

@property
def target(self):
return "ppc-lynx178"
Expand Down

0 comments on commit f181b6a

Please sign in to comment.