Displaying 4 results from an estimated 4 matches for "arefloatsstoredasdoublesinvector".
Did you mean:
arefloatsstoredasdoublesinvectors
2013 Jan 28
2
[LLVMdev] Floats as Doubles in Vectors
...into
> a single register. For example <8 x i8> or <8 x i8>.
>
> > 2. Add some kind of API to TTI that allows the default logic (# ==
> > vector-size/type-size) to be overridden. This could be something
> > specific to the problem at hand, such as: bool
> > areFloatsStoredAsDoublesInVectors(), or something more general.
> > Maybe something like: unsigned getSizeAsVectorElement(Type *T)
> > which would return the number of bytes that the specified type
> > actually takes up when used as a vector element.
>
> I prefer to fix the cost model. Do you see any probl...
2013 Jan 27
3
[LLVMdev] Floats as Doubles in Vectors
...alizing the formation of <8 x float> vectors. This may work, but will cause an unnecessary compile-time increase.
2. Add some kind of API to TTI that allows the default logic (# == vector-size/type-size) to be overridden. This could be something specific to the problem at hand, such as: bool areFloatsStoredAsDoublesInVectors(), or something more general. Maybe something like: unsigned getSizeAsVectorElement(Type *T) which would return the number of bytes that the specified type actually takes up when used as a vector element.
I'm certainly open to suggestions. I don't know if this situation applies to other t...
2013 Jan 28
0
[LLVMdev] Floats as Doubles in Vectors
...le register. For example <8 x i8> or <8 x i8>.
>>
>>> 2. Add some kind of API to TTI that allows the default logic (# ==
>>> vector-size/type-size) to be overridden. This could be something
>>> specific to the problem at hand, such as: bool
>>> areFloatsStoredAsDoublesInVectors(), or something more general.
>>> Maybe something like: unsigned getSizeAsVectorElement(Type *T)
>>> which would return the number of bytes that the specified type
>>> actually takes up when used as a vector element.
>>
>> I prefer to fix the cost model. Do...
2013 Jan 28
0
[LLVMdev] Floats as Doubles in Vectors
...ou have smaller types they may get legalized into a single register. For example <8 x i8> or <8 x i8>.
> 2. Add some kind of API to TTI that allows the default logic (# == vector-size/type-size) to be overridden. This could be something specific to the problem at hand, such as: bool areFloatsStoredAsDoublesInVectors(), or something more general. Maybe something like: unsigned getSizeAsVectorElement(Type *T) which would return the number of bytes that the specified type actually takes up when used as a vector element.
I prefer to fix the cost model. Do you see any problems with this approach ? I understand t...