search for: cmp_less

Displaying 5 results from an estimated 5 matches for "cmp_less".

2011 May 24
6
[LLVMdev] predicates and conditional execution
Hi, I was wondering if LLVM supports predicates and conditional execution. Something like we have in IA64. There is a register class of predicates and then every instruction may be predicated by a register from this class. For example: cmp_less p, x, y // p is a predicate which gets the result of x < y p add x, x, 2 // if p then do the add instruction Is there support in LLVM to something like that? Which architecture can show a good example for the implementation of that? Thanks, Roy.
2011 May 24
0
[LLVMdev] predicates and conditional execution
...oy rosen wrote: > Hi, > > I was wondering if LLVM supports predicates and conditional execution. > Something like we have in IA64. > There is a register class of predicates and then every instruction may > be predicated by a register from this class. > For example: > > cmp_less p, x, y // p is a predicate which gets the result of x < y > p add x, x, 2 // if p then do the add instruction > > Is there support in LLVM to something like that? > Which architecture can show a good example for the implementation of that? Hi Roy, LLVM has support for predicatio...
2011 May 24
2
[LLVMdev] predicates and conditional execution
...> >> I was wondering if LLVM supports predicates and conditional execution. >> Something like we have in IA64. >> There is a register class of predicates and then every instruction may >> be predicated by a register from this class. >> For example: >> >> cmp_less p, x, y // p is a predicate which gets the result of x < y >> p add x, x, 2 // if p then do the add instruction >> >> Is there support in LLVM to something like that? >> >> Which architecture can show a good example for the implementation of that? > > You may...
2011 May 24
0
[LLVMdev] predicates and conditional execution
...il.com> wrote: > Hi, > > I was wondering if LLVM supports predicates and conditional execution. > Something like we have in IA64. > There is a register class of predicates and then every instruction may > be predicated by a register from this class. > For example: > > cmp_less p, x, y // p is a predicate which gets the result of x < y > p add x, x, 2 // if p then do the add instruction > > Is there support in LLVM to something like that? Which architecture can show a good example for the implementation of that? > You may want to look at the PTX back-end....
2011 May 24
0
[LLVMdev] predicates and conditional execution
...if LLVM supports predicates and conditional execution. > >> Something like we have in IA64. > >> There is a register class of predicates and then every instruction may > >> be predicated by a register from this class. > >> For example: > >> > >> cmp_less p, x, y // p is a predicate which gets the result of x < y > >> p add x, x, 2 // if p then do the add instruction > >> > >> Is there support in LLVM to something like that? > >> > >> Which architecture can show a good example for the implementation of...