]> Cypherpunks repositories - gostls13.git/commit
cmd/compile,runtime: fix atomic And8 for mipsle
authorVladimir Stefanovic <vladimir.stefanovic@imgtec.com>
Tue, 21 Mar 2017 13:57:58 +0000 (14:57 +0100)
committerCherry Zhang <cherryyz@google.com>
Tue, 21 Mar 2017 16:03:12 +0000 (16:03 +0000)
commit24dc8c6cb52aaa2680d0817298d109cb12098cda
tree789bf0d299859a75e11ff34d5cdf16558a882c0a
parent23bd9191361cccab5ca03aa2d65989efdf9d839c
cmd/compile,runtime: fix atomic And8 for mipsle

Removing stray xori that came from big endian copy/paste.
Adding atomicand8 check to runtime.check() that would have revealed
this error.
Might fix #19396.

Change-Id: If8d6f25d3e205496163541eb112548aa66df9c2a
Reviewed-on: https://go-review.googlesource.com/38257
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/gen/MIPS.rules
src/cmd/compile/internal/ssa/rewriteMIPS.go
src/runtime/runtime1.go