[Bug 56] New: Error with gcc.builtins and ARM neon.
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Sat May 25 13:58:36 PDT 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=56
Bug #: 56
Summary: Error with gcc.builtins and ARM neon.
Classification: Unclassified
Product: GDC
Version: 4.8.x
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
AssignedTo: ibuclaw at gdcproject.org
ReportedBy: jerro.public at gmail.com
If I try to build the following code:
import gcc.builtins;
for arm with flags -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9, I get:
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
Error: cent and ucent types not implemented
I can fix this by making this change in d-builtins.c:
132,134c132,133
< if (d && d->isintegral() && d->size() == type_size
< && (d->isunsigned() ? true : false) == is_unsigned
< && d->ty != Tint128 && d->ty != Tuns128)
---
> if (d && d->isintegral() && d->size() == type_size
> && (d->isunsigned() ? true : false) == is_unsigned)
But I don't know if that's the best way to fix this.
--
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the D.gnu
mailing list