Displaying 5 results from an estimated 5 matches for "ltmp_363_19".
2006 Nov 05
4
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
...code.
I used the following command to do this:
% llvm-g++ -c foo.cpp -o - | llc -march=c -o foo.cbe.c
In the resulting file foo.cbe.c there are many occurences of '0x0p+0'.
What is it used for? Here's a code snippet from the file foo.cbe.c
if ((ltmp_126_2 > 0x0p+0)) {
goto ltmp_363_19;
} else {
goto ltmp_364_19;
}
llvm-gcc is able to compile foo.cbe.c, but I need to use another C
compiler which gives a syntax error message for not recognizing
the expression '0x0p+0'.
Thank you for your assistance.
Napi
2006 Nov 05
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
...ou're going to get a lot of C code on output. Try passing -O2
to llvm-g++.
> In the resulting file foo.cbe.c there are many occurences of '0x0p+0'.
> What is it used for? Here's a code snippet from the file foo.cbe.c
>
> if ((ltmp_126_2 > 0x0p+0)) {
> goto ltmp_363_19;
> } else {
> goto ltmp_364_19;
> }
>
> llvm-gcc is able to compile foo.cbe.c, but I need to use another C
> compiler which gives a syntax error message for not recognizing
> the expression '0x0p+0'.
Get a new C compiler :)
The syntax in question is a C99 fea...
2006 Nov 05
4
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
...ode on output. Try passing -O2
> to llvm-g++.
>
> > In the resulting file foo.cbe.c there are many occurences of '0x0p+0'.
> > What is it used for? Here's a code snippet from the file foo.cbe.c
> >
> > if ((ltmp_126_2 > 0x0p+0)) {
> > goto ltmp_363_19;
> > } else {
> > goto ltmp_364_19;
> > }
> >
> > llvm-gcc is able to compile foo.cbe.c, but I need to use another C
> > compiler which gives a syntax error message for not recognizing
> > the expression '0x0p+0'.
>
> Get a new C com...
2006 Nov 05
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
...code.
I used the following command to do this:
% llvm-g++ -c foo.cpp -o - | llc -march=c -o foo.cbe.c
In the resulting file foo.cbe.c there are many occurences of '0x0p+0'.
What is it used for? Here's a code snippet from the file foo.cbe.c
if ((ltmp_126_2 > 0x0p+0)) {
goto ltmp_363_19;
} else {
goto ltmp_364_19;
}
llvm-gcc is able to compile foo.cbe.c, but I need to use another C
compiler which gives a syntax error message for not recognizing
the expression '0x0p+0'.
Thank you for your assistance.
Napi
2006 Nov 05
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
...0800, Reid Spencer wrote:
>>> In the resulting file foo.cbe.c there are many occurences of '0x0p
>>> +0'.
>>> What is it used for? Here's a code snippet from the file foo.cbe.c
>>>
>>> if ((ltmp_126_2 > 0x0p+0)) {
>>> goto ltmp_363_19;
>>> } else {
>>> goto ltmp_364_19;
>>> }
>>>
>>> llvm-gcc is able to compile foo.cbe.c, but I need to use another C
>>> compiler which gives a syntax error message for not recognizing
>>> the expression '0x0p+0'.
>&g...