search for: specifiedby

Displaying 2 results from an estimated 2 matches for "specifiedby".

Did you mean: specified
2005 Aug 31
2
[LLVMdev] Anyone is building a DSP-C frontend?
...d). sat signed fixed a; sat signed fixed b; sat signed fixed c; a = -0.75r; // 'r' is fixed-point number postfix b = -0.75r; c = a + b; /* c = -1.0r !!! */ this qualifier can be implemented just like the 'const' qualifier. btw, in some implementation, the saturation is explicitly specifiedby the arithmetic operation, not the variable itself. for example: /* add the operands, saturate the result before it's assigned to c */ c = add_sat(-0.75, -0.75); 2. memory space qualifier a typical program will have its global variables and constant in different data segments. a segment is ju...
2005 Aug 31
0
[LLVMdev] Anyone is building a DSP-C frontend?
...nted just like the 'const' qualifier. This shouldn't be a type qualifier, if implemented in llvm, this should be new operations (e.g. add_sat). Saturating arithmetic would also be interesting for the vector/simd people. > btw, in some implementation, the saturation is explicitly specifiedby > the arithmetic operation, not the variable itself. for example: > > /* add the operands, saturate the result before it's assigned to c */ > c = add_sat(-0.75, -0.75); The way it is expressed at the source language isn't important. However it is expressed there, it should be...