a document bug in lib/CodeGen/README.txt

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

a document bug in lib/CodeGen/README.txt

Baoshan Pang
I think I found a bug in lib/CodeGen/README.txt:

The register "lr" should be "r4" in instruction "str lr, [sp, #+52]" of :

and then "merge" mul and mov:
        mul r4, r4, lr
        str lr, [sp, #+52]
        ldr lr, [r1, #+32]
        sxth r3, r3
        mla r4, r3, lr, r4

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: a document bug in lib/CodeGen/README.txt

Duncan Sands
Hi Baoshan Pang,

On 05/06/13 15:48, Baoshan Pang wrote:

> I think I found a bug in lib/CodeGen/README.txt:
>
> The register "lr" should be "r4" in instruction "str lr, [sp, #+52]" of :
>
>     and then "merge" mul and mov:
>              mul r4, r4, lr
>              str lr, [sp, #+52]
>              ldr lr, [r1, #+32]
>              sxth r3, r3
>              mla r4, r3, lr, r4

thanks for pointing this out, I've corrected the document.

Ciao, Duncan.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev