Displaying 4 results from an estimated 4 matches for "fdivfaddfmul_a".
2018 May 04
0
How to constraint instructions reordering from patterns?
Krzysztof,
Thanks for your interest to my questions.
In order to clarify the context, here is the C source file of my test case.
The 3 builtins initialize some stack pointers. They have to be executed before any other instruction.
extern float fdivfaddfmul_a(float a, float b, float c, float d);
volatile static float x1,x2,x3,x4;
void _start(void)
{
float res;
__builtin_clp_set_rspa(64);
__builtin_clp_set_rspb(64);
__builtin_clp_set_rspsu(8);
x1 = 1.0f;
x2 = 2.0f;
x3 = 3.0f;
x4 = 4...
2018 May 04
2
How to constraint instructions reordering from patterns?
...gt;)> t24:1,
> GlobalAddress:i16<float* @x3> 0, undef:i16
>
> t26: f32,ch = load<Volatile LD4[@x4](tbaa=<0x3dbe418>)> t25:1,
> GlobalAddress:i16<float* @x4> 0, undef:i16
>
> t27: i16 = GlobalAddress<float (float, float, float, float)*
> @fdivfaddfmul_a> 0
>
> t29: ch,glue = callseq_start t26:1, TargetConstant:i16<4>
>
> t31: ch,glue = CLPISD::COPY_TO_CALLEE_A t29, t23, FrameIndex:i16<0>,
> t29:1
>
> t33: ch,glue = CLPISD::COPY_TO_CALLEE_A t31, t24, FrameIndex:i16<1>,
> t31:1
>
> ...
2018 May 04
0
How to constraint instructions reordering from patterns?
...d<Volatile LD4[@x3](tbaa=<0x3dbe418>)> t24:1, GlobalAddress:i16<float* @x3> 0, undef:i16
t26: f32,ch = load<Volatile LD4[@x4](tbaa=<0x3dbe418>)> t25:1, GlobalAddress:i16<float* @x4> 0, undef:i16
t27: i16 = GlobalAddress<float (float, float, float, float)* @fdivfaddfmul_a> 0
t29: ch,glue = callseq_start t26:1, TargetConstant:i16<4>
t31: ch,glue = CLPISD::COPY_TO_CALLEE_A t29, t23, FrameIndex:i16<0>, t29:1
t33: ch,glue = CLPISD::COPY_TO_CALLEE_A t31, t24, FrameIndex:i16<1>, t31:1
t35: ch,glue = CLPISD::COPY_TO_CALLEE_A t33, t25, FrameInde...
2018 May 04
2
How to constraint instructions reordering from patterns?
Hi,
Is there a kind of scope mechanism in the instruction lowering pattern language in order to control where instructions are inserted or how they are later reordered during the SelectionDiag linearization?
I know the glue chain that stick instructions together. But such mechanism in not provided in instruction lowering pattern.
I'm facing many situations where some patterns are lowered into