powerpc: Fix operand prefixes
commiteb3b8a4924502e508d5b353ed75f39826d2c9466
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Tue, 12 Apr 2016 16:11:29 +0000 (12 13:11 -0300)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Wed, 4 May 2016 12:14:52 +0000 (4 09:14 -0300)
treee84ab024ac5a8a9f2a4c57ee121e2f7e449e6f01
parent5171f3079f2cc53e0548fc4967361f4d1ce9d7ea
powerpc: Fix operand prefixes

The file sysdeps/powerpc/sysdeps.h defines aliases for condition register
operands.  E.g.: 'cr7' means condition register 7.  On the one hand, this
increases readability, as it makes it easier for readers to know whether the
operand is a condition register, a general purpose register or an immediate.
On the other hand, this permits that condition registers be written as if they
were general purpose, and vice-versa, thus reducing the readability of the
code.

This commit removes some of these unintentional misuses.

The changes have no effect on the final code.  Checked with objdump.
ChangeLog
sysdeps/powerpc/powerpc64/power8/strncpy.S