src/cmd/compile/internal/ppc64/opt.go
raw| 1 | // Copyright 2014 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package ppc64 |
| 6 | |
| 7 | // Many Power ISA arithmetic and logical instructions come in four |
| 8 | // standard variants. These bits let us map between variants. |
| 9 | const ( |
| 10 | V_CC = 1 << 0 // xCC (affect CR field 0 flags) |
| 11 | V_V = 1 << 1 // xV (affect SO and OV flags) |
| 12 | ) |