• Keith Randall's avatar
    cmd/compile: rename memory-using operations · f3234866
    Keith Randall authored
    Some *mem ops are loads, some are stores, some are modifications.
    Replace mem->load for the loads.
    Replace mem->store for the stores.
    Replace mem->modify for the load-modify-stores.
    
    The only semantic change in this CL is to mark
    ADD(Q|L)constmodify (which used to be ADD(Q|L)constmem) as
    both a read and a write, instead of just a write. This is arguably
    a bug fix, but the bug isn't triggerable at the moment, see CL 112157.
    
    Change-Id: Iccb45aea817b606adb2d712ff99b10ee28e4616a
    Reviewed-on: https://go-review.googlesource.com/112159
    Run-TryBot: Keith Randall <khr@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    f3234866
rewrite386.go 443 KB