]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/arm: fix comparison & conditional branch for SSA on ARM
authorCherry Zhang <cherryyz@google.com>
Mon, 18 Apr 2016 16:21:51 +0000 (12:21 -0400)
committerMinux Ma <minux@golang.org>
Thu, 21 Apr 2016 16:01:05 +0000 (16:01 +0000)
commit7c6b48ffba9e0ea8ed846d194fe30189863f17f0
tree1126886c837b76ee6e43530e04fa39361ef26aca
parent7d56215bcbc5a2ef5e59805271b0ca6a4fd56e4d
cmd/compile/internal/arm: fix comparison & conditional branch for SSA on ARM

Progress on SSA for ARM. Still not complete. Now Fibonacci function compiles
and runs correctly.

The old backend swaps the operands for CMP instruction. This CL does the same
on SSA backend, and uses conditional branch accordingly.

Updates #15365.

Change-Id: I117e17feb22f03d936608bd232f76970e4bbe21a
Reviewed-on: https://go-review.googlesource.com/22187
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/arm/ssa.go