Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for complex modes missing #4063

Closed
pwo opened this issue Mar 1, 2009 · 5 comments
Closed

Support for complex modes missing #4063

pwo opened this issue Mar 1, 2009 · 5 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla clang:frontend Language frontend issues, e.g. anything involving "Sema"

Comments

@pwo
Copy link

pwo commented Mar 1, 2009

Bugzilla Link 3691
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS FreeBSD
Blocks llvm/llvm-bugzilla-archive#3696
CC @EdSchouten,@efriedma-quic

Extended Description

ccc -c -pipe -march=nocona -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fstack-protector -fvisibility=hidden -DHIDE_EXPORTS -fPIC -DL_muldi3 -o _muldi3.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c:65:
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.h:159:47: error: unknown machine mode 'SC'
typedef _Complex float SCtype attribute ((mode (SC)));
^
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.h:163:47: error: unknown machine mode 'DC'
typedef _Complex float DCtype attribute ((mode (DC)));
^
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.h:166:39: error: unsupported machine mode 'XF'
typedef float XFtype attribute ((mode (XF)));
^
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.h:167:47: error: unknown machine mode 'XC'
typedef _Complex float XCtype attribute ((mode (XC)));
^
4 diagnostics generated.

@pwo
Copy link
Author

pwo commented Mar 1, 2009

assigned to @efriedma-quic

@EdSchouten
Copy link
Contributor

This page seems to document them:

http://gcc.gnu.org/onlinedocs/gccint/Machine-Modes.html

Quote:
QCmode, HCmode, SCmode, DCmode, XCmode, TCmode
These modes stand for a complex number represented as a pair of floating point values. The floating point values are in QFmode, HFmode, SFmode, DFmode, XFmode, and TFmode, respectively.

@efriedma-quic
Copy link
Collaborator

I'll take care of this.

@efriedma-quic
Copy link
Collaborator

Fixed in r65935.

@EdSchouten
Copy link
Contributor

mentioned in issue llvm/llvm-bugzilla-archive#3696

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang:frontend Language frontend issues, e.g. anything involving "Sema"
Projects
None yet
Development

No branches or pull requests

3 participants