Displaying 5 results from an estimated 5 matches for "v4c64".
2019 Aug 29
2
Complex proposal v2
...point
constants.
Operations
----------
This proposal overloads existing floating point instructions for
complex types in order to leverage existing expression optimizations:
c64 %res = fadd c64 %a, c64 %b
v8c64 %res = fsub v8c64 %a, v8c64 %b
c128 %res = fmul c128 %a, c128 %b
v4c32 %res = fdiv v4c64 %a, v4c64 %b
The only valid comparisons of complex values shall be equality:
i1 %res = eq c32 %a, c32 %b
i8 %res = eq v8c32 %a, v8c32 %b
i1 %res = ne c64 %a, c64 %b
i8 %res = ne v8c64 %a, v8c64 %b
select is defined for complex:
c32 = select i1 %cmp, c32 %a, c32 %b
v4c64 = select i4 %cmp, v4c64...
2019 Jul 01
14
RFC: Complex in LLVM
...want to put them
somewhere else.
Operations
This proposal overloads existing floating point instructions for complex
types in order to leverage existing expression optimizations:
c64 %res = fadd c64 %a, c64 %b
v8c64 %res = fsub v8c64 %a, v8c64 %b
c32 %res = fmul c64 %a, c64 %b
v4c32 %res = fdiv v4c64 %a, v4c64 %b
The only valid comparisons of complex values will be equality:
i1 %res = eq c32 %a, c32 %b
i8 %res = eq v8c32 %a, v8c32 %b
i1 %res = ne c64 %a, c64 %b
i8 %res = ne v8c64 %a, v8c64 %b
select is defined for complex:
c32 = select i1 %cmp, c32 %a, c32 %b
v4c64 = select i4 %cmp, v4c64...
2019 Oct 22
4
Complex proposal v3 + roundtable agenda
...def c32 : ValueType<64, vvv>
def c64 : ValueType<128, www>
def x86c80 : ValueType<160, xxx>
def c128 : ValueType<256, yyy>
def ppcc128 : ValueType<256, zzz>
def v8c16 : ValueType<128, aaa>
def v4c32 : ValueType<128, bbb>
def v4c64 : ValueType<512, ccc>
...
def nxv8c16 : ValueType<128, ddd>
def nxv4c32 : ValueType<128, eee>
def nxv1c64 : ValueType<128, fff>
def nxv2c64 : ValueType<256, ggg>
...
def llvm_anycomplex_ty : LLVMType<Any>;
def llvm_c16_ty : LLVMType<c16>...
2019 Sep 03
2
Complex proposal v2
...rloaded intrinsic to create a vector of
>> floating-point type from the real portions of a
>> vector of complex (not all variants shown)
>>
>> declare v4f32 @llvm.extractreal.v4c32(v4c32 %val) declare v4f64
>> @llvm.extractreal.v4c64(v4c64 %val)
>>
>> llvm.extractimag.* - Overloaded intrinsic to create a vector of
>> floating-point type from the imaginary portions
>> of a vector of complex (not all variants shown)
>>
>> declare v4f32 @llvm.extractimag...
2020 Nov 12
0
Complex proposal v3 + roundtable agenda
...;
> def c64 : ValueType<128, www>
> def x86c80 : ValueType<160, xxx>
> def c128 : ValueType<256, yyy>
> def ppcc128 : ValueType<256, zzz>
>
> def v8c16 : ValueType<128, aaa>
> def v4c32 : ValueType<128, bbb>
> def v4c64 : ValueType<512, ccc>
> ...
>
> def nxv8c16 : ValueType<128, ddd>
> def nxv4c32 : ValueType<128, eee>
> def nxv1c64 : ValueType<128, fff>
> def nxv2c64 : ValueType<256, ggg>
> ...
>
> def llvm_anycomplex_ty : LLVMType<Any&g...