diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2007-11-24 14:08:07 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2007-11-24 14:08:07 +0000 |
commit | 28f90491c264ea90a9c9bb940c5ebdee36de73f7 (patch) | |
tree | 4c5ed62aca478ce785d6ba68bbe1568f90f20e9b /usr.bin | |
parent | 4b30c97314d9c44d6ef935401f0cb60533941f6c (diff) |
Pull from master repo:
chars are sign-extended with extsb, not extsh.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pcc/powerpc/table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pcc/powerpc/table.c b/usr.bin/pcc/powerpc/table.c index 37e0870db98..a7cb0a707b3 100644 --- a/usr.bin/pcc/powerpc/table.c +++ b/usr.bin/pcc/powerpc/table.c @@ -1,5 +1,5 @@ /*- - * $OpenBSD: table.c,v 1.8 2007/11/24 13:38:06 stefan Exp $ + * $OpenBSD: table.c,v 1.9 2007/11/24 14:08:06 stefan Exp $ * * Copyright (c) 2007 Gregory McGarry <g.mcgarry@ieee.org> * @@ -120,7 +120,7 @@ struct optab table[] = { SAREG, TCHAR, SAREG, TUSHORT|TUWORD, NASL|NAREG|NSPECIAL, RESC1, - " extsh A1,AL" COM "convert char (AL) to ushort/unsigned (A1)\n", }, + " extsb A1,AL" COM "convert char (AL) to ushort/unsigned (A1)\n", }, /* convert uchar/ushort/uint to (u)longlong */ { SCONV, INBREG, |