search for: ih_addr

Displaying 4 results from an estimated 4 matches for "ih_addr".

Did you mean: sh_addr
2004 Apr 22
0
[LLVMdev] Motivation for 'select' instruction
...quot; can't be taked at the > same time -- and that's why I'm trying to automatically figure out working on > LLVM representation. However, the LLVM code: > > int %logsch(int %ih, int %nbh) { > entry: > %tmp.1 = setlt int %nbh, 0 > %ih_addr.1 = select bool %tmp.1, int 10, int %ih > %nbh_addr.1 = select bool %tmp.1, int 0, int %nbh > %tmp.4 = setgt int %nbh_addr.1, 22528 > %ih_addr.0 = select bool %tmp.4, int 7, int %ih_addr.1 > %nbh_addr.0 = select bool %tmp.4, int 22528,...
2004 Apr 22
2
[LLVMdev] Motivation for 'select' instruction
...t; the same time -- and that's why I'm trying to automatically figure out > > working on LLVM representation. However, the LLVM code: > > > > int %logsch(int %ih, int %nbh) { > > entry: > > %tmp.1 = setlt int %nbh, 0 > > %ih_addr.1 = select bool %tmp.1, int 10, int %ih > > %nbh_addr.1 = select bool %tmp.1, int 0, int %nbh > > %tmp.4 = setgt int %nbh_addr.1, 22528 > > %ih_addr.0 = select bool %tmp.4, int 7, int %ih_addr.1 > > %nbh_addr.0 = select boo...
2004 Apr 22
2
[LLVMdev] Motivation for 'select' instruction
Hello, I'm wondering what was the original motivaton for the 'select' instruction. Was it for convenience, or for some deep reason. I'm asking because it's causing me some problems (see below) and I'd like to know I understand the situation before working those problems around. I have the following function: int logsch(int ih,int nbh) { if(nbh < 0)
2004 Apr 22
0
[LLVMdev] Motivation for 'select' instruction
On Thu, 22 Apr 2004, Vladimir Prus wrote: > > > int %logsch(int %ih, int %nbh) { > > > entry: > > > %tmp.1 = setlt int %nbh, 0 > > > %ih_addr.1 = select bool %tmp.1, int 10, int %ih > > > %nbh_addr.1 = select bool %tmp.1, int 0, int %nbh > > > %tmp.4 = setgt int %nbh_addr.1, 22528 > > > %ih_addr.0 = select bool %tmp.4, int 7, int %ih_addr.1 > > > %nbh...