Displaying 4 results from an estimated 4 matches for "field1float".
2013 Aug 09
2
[LLVMdev] [RFC] Poor code generation for paired load
...on when the operations extracting the fields are more expensive than a load or when “fancy” loads are available.
More generally, this may happen for smaller size too.
** Example **
1. %chunk64 = load i64
2. %field1trunced = trunc i64 %chunk64 to i32 // <— build field1 from chunk
3. %field1float = bitcast i32 field1trunced to float // <— build field1 from chunk
4. %field2shifted = lshr i64 %chunk64, 32 // <— build field2 from chunk
5. %field2trunced = trunc i64 %field2shifter to i32 // <— build field2 from chunk
6. %field2 = bitcast i32 %field2trunced to...
2013 Aug 12
2
[LLVMdev] [RFC] Poor code generation for paired load
...” loads are available.
>>
>> More generally, this may happen for smaller size too.
>>
>>
>> ** Example **
>>
>> 1. %chunk64 = load i64
>> 2. %field1trunced = trunc i64 %chunk64 to i32 // <— build field1
>> from chunk
>> 3. %field1float = bitcast i32 field1trunced to float // <— build
>> field1 from chunk
>> 4. %field2shifted = lshr i64 %chunk64, 32 // <— build field2
>> from chunk
>> 5. %field2trunced = trunc i64 %field2shifter to i32 // <— build field2
>> from chun...
2013 Aug 10
0
[LLVMdev] [RFC] Poor code generation for paired load
...re more expensive than a load or when “fancy” loads are available.
>
> More generally, this may happen for smaller size too.
>
>
> ** Example **
>
> 1. %chunk64 = load i64
> 2. %field1trunced = trunc i64 %chunk64 to i32 // <— build field1
> from chunk
> 3. %field1float = bitcast i32 field1trunced to float // <— build
> field1 from chunk
> 4. %field2shifted = lshr i64 %chunk64, 32 // <— build field2
> from chunk
> 5. %field2trunced = trunc i64 %field2shifter to i32 // <— build field2
> from chunk
> 6. %field2 =...
2013 Aug 12
0
[LLVMdev] [RFC] Poor code generation for paired load
...re more expensive than a load or when “fancy” loads are available.
>
> More generally, this may happen for smaller size too.
>
>
> ** Example **
>
> 1. %chunk64 = load i64
> 2. %field1trunced = trunc i64 %chunk64 to i32 // <— build field1
> from chunk
> 3. %field1float = bitcast i32 field1trunced to float // <— build
> field1 from chunk
> 4. %field2shifted = lshr i64 %chunk64, 32 // <— build field2
> from chunk
> 5. %field2trunced = trunc i64 %field2shifter to i32 // <— build field2
> from chunk
> 6. %field2 =...