fix-point support

>Hi Jonas,
>
>> *is there any work ongoing in the area of fix-point support for LLVM?*
>
>not as far as I know.
>
>> *If not, what would be required to implement it?*
>
>I assume you are talking about support for fixed point in the clang
>front-end, rather than LLVM itself, since in LLVM IR presumably it
>would just be represented as operations on integers, or library calls.
>If indeed you want clang support you should ask on the clang mailing
>list.
>
>Ciao,
>
>Duncan.
>

Hi Duncan,

no, actually, I want to use special instructions in the ISA that handles fix-point operands,
so I need a new type in the LLVM I/R and in the code-generator, I think, as well as in Clang.

/Jonas

Hi Jonas,

/ is there any work ongoing in the area of fix-point support for LLVM?

/>

not as far as I know.

/ If not, what would be required to implement it?

/>

I assume you are talking about support for fixed point in the clang
front-end, rather than LLVM itself, since in LLVM IR presumably it
would just be represented as operations on integers, or library calls.
If indeed you want clang support you should ask on the clang mailing
list.

Ciao,

Duncan.

Hi Duncan,

no, actually, I want to use special instructions in the ISA that handles fix-point operands,
so I need a new type in the LLVM I/R and in the code-generator, I think, as well as in Clang.

to get started you could use integer types in the LLVM IR and create LLVM
intrinsics that represent the fixed point operations. Introducing new types
is a lot of work, so best to work incrementally if possible.

Ciao,

Duncan.