Displaying 5 results from an estimated 5 matches for "64wide".
Did you mean:
a4wide
2009 Oct 08
2
[LLVMdev] Instructions that cannot be duplicated
...sort of workaround is this:
Valid original code is:
flag = false
if (cond)
{ flag = bar();
}
foo()
if (flag) {bar}
transformes to
if (cond) {
flag = bar()
foo()
if (flag)
bar()
} else {
foo()
}
Assumptions:
- foo() is the barrier
- each hardware thread is a 64wide vector
- two hardware threads are executing
- Each vector element gets a unique id between 0 and 127
- The condition is true if id > 32
- Predication is used on control flow
What happens in the original code:
The first half of the first hardware thread predicates computation on the first condi...
2009 Oct 08
0
[LLVMdev] Instructions that cannot be duplicated
... { flag = bar();
> }
> foo()
> if (flag) {bar}
>
>
> transformes to
>
> if (cond) {
> flag = bar()
> foo()
> if (flag)
> bar()
> } else {
> foo()
> }
>
> Assumptions:
> - foo() is the barrier
> - each hardware thread is a 64wide vector
> - two hardware threads are executing
> - Each vector element gets a unique id between 0 and 127
> - The condition is true if id > 32
> - Predication is used on control flow
> What happens in the original code:
> The first half of the first hardware thread predicates c...
2009 Oct 08
3
[LLVMdev] Instructions that cannot be duplicated
...gt;
>>
>> transformes to
>>
>> if (cond) {
>> flag = bar()
>> foo()
>> if (flag)
>> bar()
>> } else {
>> foo()
>> }
>>
>> Assumptions:
>> - foo() is the barrier
>> - each hardware thread is a 64wide vector
>> - two hardware threads are executing
>> - Each vector element gets a unique id between 0 and 127
>> - The condition is true if id > 32
>> - Predication is used on control flow
>> What happens in the original code:
>> The first half of the first hard...
2009 Oct 08
0
[LLVMdev] Instructions that cannot be duplicated
On Thu, Oct 8, 2009 at 10:49 AM, Villmow, Micah <Micah.Villmow at amd.com> wrote:
>
>
>> -----Original Message-----
>> From: Eli Friedman [mailto:eli.friedman at gmail.com]
>> Sent: Wednesday, October 07, 2009 5:50 PM
>> To: Villmow, Micah
>> Cc: LLVM Developers Mailing List
>> Subject: Re: [LLVMdev] Instructions that cannot be duplicated
>>
2009 Oct 08
2
[LLVMdev] Instructions that cannot be duplicated
> -----Original Message-----
> From: Eli Friedman [mailto:eli.friedman at gmail.com]
> Sent: Wednesday, October 07, 2009 5:50 PM
> To: Villmow, Micah
> Cc: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] Instructions that cannot be duplicated
>
> On Wed, Oct 7, 2009 at 11:20 AM, Villmow, Micah
<Micah.Villmow at amd.com>
> wrote:
> > Is there a current