search for: _f32

Displaying 12 results from an estimated 12 matches for "_f32".

2008 Oct 06
1
[LLVMdev] sign extensions on loads?
...2, "SelectADDRf", [frameindex], []>; // Load Memory Operations multiclass LOADm<string asm, PatFrag OpNode, ComplexPattern addr> { def _i32 : OneInOneOut<IL_OP_MOV, (outs GPR:$dst), (ins MEM:$ptr), asm, [(set (i32 GPR:$dst), (OpNode addr:$ptr))]>; def _f32 : OneInOneOut<IL_OP_MOV, (outs GPR:$dst), (ins MEM:$ptr), asm, [(set (f32 GPR:$dst), (OpNode addr:$ptr))]>; def _i64 : OneInOneOut<IL_OP_MOV, (outs GPR:$dst), (ins MEM:$ptr), asm, [(set (i64 GPR:$dst), (OpNode addr:$ptr))]>; def _f64 : OneInOneOut<IL_OP_MO...
2011 Nov 22
2
[LLVMdev] PTX builtin functions.
...e<0>, LLVMMatchType<0>], []>; This allows us to write a multi-def for int_AMDIL_mad like so: defm MAD : TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; Where TernaryIntrinsicFloat is defined as: multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> { def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), [(set GPRF32:$dst, (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; def _v2f32 : ThreeInOneOut<opcode,...
2011 Nov 23
2
[LLVMdev] PTX builtin functions.
...us to write a multi-def for int_AMDIL_mad like so: > > defm MAD : TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; > > > > Where TernaryIntrinsicFloat is defined as: > > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> > > { > > def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), > > (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > > [(set GPRF32:$dst, > > (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; >...
2008 Nov 18
1
[LLVMdev] 32 bit boolean results
You can tell LLVM that you have "sign extended" setCC results (all ones). Dan On Nov 18, 2008, at 5:33 PM, Eli Friedman wrote: > On Tue, Nov 18, 2008 at 1:56 PM, Villmow, Micah > <Micah.Villmow at amd.com> wrote: >> The IR produces correct results, but my backend does not and the >> only thing >> I can think of is that the IR is treating the
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...[]>; > > This allows us to write a multi-def for int_AMDIL_mad like so: > defm MAD  : TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; > > Where TernaryIntrinsicFloat is defined as: > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> > { >  def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), >      (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), >      !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >      [(set GPRF32:$dst, >          (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; >  def _v2f32 : Three...
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...t_AMDIL_mad like so: > > > defm MAD : TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; > > > > > > Where TernaryIntrinsicFloat is defined as: > > > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> > > > { > > > def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), > > > (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), > > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > > > [(set GPRF32:$dst, > > > (intr GPRF32:$src, GPRF32:$src2, GPRF3...
2011 Dec 04
2
[LLVMdev] PTX builtin functions.
...;> > > defm MAD  : TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; >> > > >> > > Where TernaryIntrinsicFloat is defined as: >> > > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> >> > > { >> > >  def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), >> > >      (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), >> > >      !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >> > >      [(set GPRF32:$dst, >> > >          (intr GPRF32:$src, GPR...
2011 Dec 08
3
[LLVMdev] PTX builtin functions.
...;> > > defm MAD : TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; >> > > >> > > Where TernaryIntrinsicFloat is defined as: >> > > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> >> > > { >> > > def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), >> > > (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >> > > [(set GPRF32:$dst, >> > > (intr GPRF32:$src, GPR...
2011 Dec 05
0
[LLVMdev] PTX builtin functions.
...: TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; > >> > > > >> > > Where TernaryIntrinsicFloat is defined as: > >> > > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> > >> > > { > >> > > def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), > >> > > (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), > >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > >> > > [(set GPRF32:$dst, > >> > > (i...
2011 Dec 08
0
[LLVMdev] PTX builtin functions.
...: TernaryIntrinsicFloat<IL_OP_MAD, int_AMDIL_mad>; > >> > > > >> > > Where TernaryIntrinsicFloat is defined as: > >> > > multiclass TernaryIntrinsicFloat<ILOpCode opcode, Intrinsic intr> > >> > > { > >> > > def _f32 : ThreeInOneOut<opcode, (outs GPRF32:$dst), > >> > > (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), > >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > >> > > [(set GPRF32:$dst, > >> > > (i...
2011 Nov 22
0
[LLVMdev] PTX builtin functions.
On Mon, Nov 21, 2011 at 5:31 PM, Justin Holewinski <justin.holewinski at gmail.com> wrote: > On Mon, Nov 21, 2011 at 11:45 AM, Alberto Magni <alberto.magni86 at gmail.com> > wrote: >> >> On Mon, Nov 21, 2011 at 3:36 PM, Justin Holewinski >> <justin.holewinski at gmail.com> wrote: >> > On Mon, Nov 21, 2011 at 7:01 AM, Alberto Magni >> >
2011 Nov 21
2
[LLVMdev] PTX builtin functions.
On Mon, Nov 21, 2011 at 11:45 AM, Alberto Magni <alberto.magni86 at gmail.com>wrote: > On Mon, Nov 21, 2011 at 3:36 PM, Justin Holewinski > <justin.holewinski at gmail.com> wrote: > > On Mon, Nov 21, 2011 at 7:01 AM, Alberto Magni < > alberto.magni86 at gmail.com> > > wrote: > >> > >> Hi Justin, > >> > >> attached you find