• Ben Shi's avatar
    cmd/internal/obj/arm: fix MOVW to/from FPSR · a38c8dfa
    Ben Shi authored
    "MOVW FPSR, g" should be assembled to 0xeef1aa10, but actually
    0xee30a110 (RFS). "MOVW g, FPSR" should be 0xeee1aa10, but actually
    0xee20a110 (WFS). They should be updated to VFP forms, since the ARM
    back end doesn't support non-VFP floating points.
    
    The patch fixes them and adds more assembly encoding tests.
    
    fixes #20643
    
    Change-Id: I3b29490337c6e8d891b400fcedc8b0a87b82b527
    Reviewed-on: https://go-review.googlesource.com/45276
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    a38c8dfa
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...