Displaying 7 results from an estimated 7 matches for "poetry2".
Did you mean:
poetry
2019 Jun 28
3
[cfe-dev] [RFC] ASM Goto With Output Constraints
...statements one on each branch of an if-then-else (please ignore any syntax
errors):
if:
br i1 %cmp, label %true, label %false
true:
%0 = call { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9}" ()
br label %end
false:
%1 = call { i32, i32 } asm sideeffect "poetry2 $0, $1", "={r10},={r11}" ()
br label %end
end:
%vals = phi { i32, i32 } [ %0, %true ], [ %1, %false ]
How is this handled in codegen? Is it an error or does the back-end handle
it? Whatever's done today for "normal" inline asm is what I *think* should
be the behav...
2019 Jun 27
2
[cfe-dev] [RFC] ASM Goto With Output Constraints
...like this:
<<
entry:
br i1 %cmp, label %true, label %false
true:
%0 = callbr { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9},X"
(i8* blockaddress(@vogon, %error)) to label %asm.fallthrough [label %error]
false:
%1 = callbr { i32, i32 } asm sideeffect "poetry2 $0, $1",
"={r10},={r11},X" (i8* blockaddress(@vogon, %error)) to label
%asm.fallthrough [label %error]
error:
%vals = phi { i32, i32 } [ %0, %true ], [ %1, %false ]
>>
Normally, if a common register cannot be found to use across relevant block
transitions, it can simply fal...
2019 Jun 28
3
[cfe-dev] [RFC] ASM Goto With Output Constraints
...;>
>> if:
>> br i1 %cmp, label %true, label %false
>>
>> true:
>> %0 = call { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9}" ()
>> br label %end
>>
>> false:
>> %1 = call { i32, i32 } asm sideeffect "poetry2 $0, $1", "={r10},={r11}"
>> ()
>> br label %end
>>
>> end:
>> %vals = phi { i32, i32 } [ %0, %true ], [ %1, %false ]
>>
>> How is this handled in codegen? Is it an error or does the back-end
>> handle it? Whatever's done today f...
2019 Jun 29
2
[cfe-dev] [RFC] ASM Goto With Output Constraints
...statements one on each branch of an if-then-else (please ignore any syntax errors):
if:
br i1 %cmp, label %true, label %false
true:
%0 = call { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9}" ()
br label %end
false:
%1 = call { i32, i32 } asm sideeffect "poetry2 $0, $1", "={r10},={r11}" ()
br label %end
end:
%vals = phi { i32, i32 } [ %0, %true ], [ %1, %false ]
How is this handled in codegen? Is it an error or does the back-end handle it? Whatever's done today for "normal" inline asm is what I *think* should be the behav...
2019 Jul 01
2
[cfe-dev] [RFC] ASM Goto With Output Constraints
...gt;>>
>>>> true:
>>>> %0 = call { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9}"
>>>> ()
>>>> br label %end
>>>>
>>>> false:
>>>> %1 = call { i32, i32 } asm sideeffect "poetry2 $0, $1",
>>>> "={r10},={r11}" ()
>>>> br label %end
>>>>
>>>> end:
>>>> %vals = phi { i32, i32 } [ %0, %true ], [ %1, %false ]
>>>>
>>>> How is this handled in codegen? Is it an error or does the...
2019 Jul 02
2
[cfe-dev] [RFC] ASM Goto With Output Constraints
...> true:
>>>>> %0 = call { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9}"
>>>>> ()
>>>>> br label %end
>>>>>
>>>>> false:
>>>>> %1 = call { i32, i32 } asm sideeffect "poetry2 $0, $1",
>>>>> "={r10},={r11}" ()
>>>>> br label %end
>>>>>
>>>>> end:
>>>>> %vals = phi { i32, i32 } [ %0, %true ], [ %1, %false ]
>>>>>
>>>>> How is this handled in codegen?...
2019 Jun 27
5
[RFC] ASM Goto With Output Constraints
[Adding the correct cfe-dev mailing list address.]
On Thu, Jun 27, 2019 at 11:06 AM Bill Wendling <isanbard at gmail.com> wrote:
> Now that ASM goto support has landed, Nick Desaulniers and I wrote up a
> document describing how to expand clang's implementation of ASM goto to
> support output constraints. The work *should* be straight-forward, but as
> always will need to