Re: Help in pointing to correct pattern in md file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rohitgeek <rohit23taneja@xxxxxxxxx> writes:

> In arm.md, a pattern for MLA instruction is present which should be used to
> emit the instruction " mla  ________ " if i write the test code as : -
>
> main()
>   {
>   int a,b,c;
>   a=10; b=5; c=7;
>   a = b*c +b;  //MLA
> }
>
> The result is that i get two different instructions. What should in done in
> md files or build/compile time to support these kind of instructions.

I see the mla instruction if I compile this file:

int foo(int a, int b, int c) { return a * b + c; }

with an ARM compiler with -O2.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux