diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2015-09-15 10:51:07 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-10-01 17:36:46 -0300 |
commit | 850713336effc17b6dcd9902f51eb7700e07bba7 (patch) | |
tree | a9f257d2d6da4155de9ec5db7268ef3d18cde1d4 /soft-fp | |
parent | 4b84e2471b5f0c9197073395eb77843c6f23e790 (diff) | |
download | glibc-850713336effc17b6dcd9902f51eb7700e07bba7.zip glibc-850713336effc17b6dcd9902f51eb7700e07bba7.tar.gz glibc-850713336effc17b6dcd9902f51eb7700e07bba7.tar.bz2 |
PowerPC: Fix operand prefixes
The file sysdeps/powerpc/sysdeps.h defines aliases for register operands,
which add the letter 'r' as a prefix to a register name. E.g.: register 20
can be written as 'r20', instead of '20'. On the one hand, this increases
readability, as it makes it easier for readers to know whether the operand is a
register or an immediate. On the other hand, this permits that immediate
operands be written as if they were registers, and vice-versa, thus reducing
the readability of the code.
This commit removes some of these unintentional misuses.
This commit also increases readability of the code by adding the prefix 'cr' to
some uses of the control register.
Both changes have no effect on the final code. Checked with objdump.
* sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
prefix from operands.
Diffstat (limited to 'soft-fp')
0 files changed, 0 insertions, 0 deletions