diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pcc/powerpc/table.c | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/usr.bin/pcc/powerpc/table.c b/usr.bin/pcc/powerpc/table.c index ad65ad2ffcc..07d7418b344 100644 --- a/usr.bin/pcc/powerpc/table.c +++ b/usr.bin/pcc/powerpc/table.c @@ -1,5 +1,5 @@ /* - * $OpenBSD: table.c,v 1.1 2007/10/20 10:01:38 otto Exp $ + * $OpenBSD: table.c,v 1.2 2007/10/21 17:45:44 otto Exp $ * Copyright (c) 2007 Gregory McGarry <g.mcgarry@ieee.org> * * Permission to use, copy, modify, and distribute this software for any @@ -41,7 +41,7 @@ struct optab table[] = { SAREG, TWORD|TPOINT, SAREG, TWORD|TPOINT, 0, RLEFT, - " ; pointer conversion", }, + " # pointer conversion", }, /* * Conversions of integral types @@ -52,28 +52,28 @@ struct optab table[] = { INAREG, TCHAR|TUCHAR, INAREG, TCHAR|TUCHAR, 0, RLEFT, - " ; convert a between (u)uchar and (u)char\n", }, + " # convert a between (u)uchar and (u)char\n", }, /* convert pointers to (u)int/(u)long */ { SCONV, INAREG, SAREG, TPOINT|TWORD, SAREG, TWORD, 0, RLEFT, - " ; convert a pointer/word to an int\n", }, + " # convert a pointer/word to an int\n", }, /* convert pointers to pointers */ { SCONV, INAREG, SAREG, TPOINT, SAREG, TPOINT, 0, RLEFT, - " ; convert pointers\n", }, + " # convert pointers\n", }, /* convert (u)longlong to (u)longlong */ { SCONV, INBREG, SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, 0, RLEFT, - " ; convert (u)longlong to (u)longlong\n", }, + " # convert (u)longlong to (u)longlong\n", }, /* convert char to short */ @@ -81,14 +81,14 @@ struct optab table[] = { SAREG, TCHAR, SAREG, TSHORT|TSWORD, NASL|NAREG, RESC1, - " extsb A1,AL ; convert char to short/int\n", }, + " extsb A1,AL # convert char to short/int\n", }, /* convert uchar to short */ { SCONV, INAREG, SAREG, TUCHAR, SAREG, TSHORT|TSWORD, NASL|NAREG, RESC1, - " ; convert uchar to short/int\n", }, + " # convert uchar to short/int\n", }, #if 0 /* convert char to short in memory */ @@ -96,7 +96,7 @@ struct optab table[] = { SOREG, TCHAR, SAREG, TSHORT|TSWORD, NASL|NAREG|NSPECIAL, RESC1, - " lbz A1,AL ; convert char to short/int\n" + " lbz A1,AL # convert char to short/int\n" " extsb A1,A1\n", }, #endif @@ -105,7 +105,7 @@ struct optab table[] = { SAREG, TCHAR|TUCHAR, SAREG, TUSHORT|TUWORD, NASL|NAREG|NSPECIAL, RESC1, - " andi. A1,AL,255 ; convert (u)char (AL) to ushort/unsigned (A1)\n", }, + " andi. A1,AL,255 # convert (u)char (AL) to ushort/unsigned (A1)\n", }, #if 0 /* convert uchar to short/int/long in memory */ @@ -113,7 +113,7 @@ struct optab table[] = { SOREG, TUCHAR, SAREG, TSHORT|TSWORD, NASL|NAREG|NSPECIAL, RESC1, - " lbz A1,AL ; convert uchar to short/int\n", }, + " lbz A1,AL # convert uchar to short/int\n", }, #endif #if 0 @@ -122,7 +122,7 @@ struct optab table[] = { SOREG, TCHAR|TUCHAR, SAREG, TUSHORT|TUWORD|TULONG, NASL|NAREG, RESC1, - " lbz A1,AL ; convert (u)char to ushort/unsigned/ulong\n", }, + " lbz A1,AL # convert (u)char to ushort/unsigned/ulong\n", }, #endif /* convert uchar/ushort/uint to (u)longlong */ @@ -130,7 +130,7 @@ struct optab table[] = { SAREG, TUCHAR|TUSHORT|TUNSIGNED, SBREG, TLONGLONG|TULONGLONG, NBREG, RESC1, - " mr A1,AL ; convert uchar/ushort/uint to (u)longlong\n" + " mr A1,AL # convert uchar/ushort/uint to (u)longlong\n" " li U1,0\n", }, /* convert char/short/int to ulonglong */ @@ -138,7 +138,7 @@ struct optab table[] = { SAREG, TCHAR|TSHORT|TSWORD, SBREG, TULONGLONG, NBREG, RESC1, - " mr A1,AL ; convert char/short/int to ulonglong\n" + " mr A1,AL # convert char/short/int to ulonglong\n" " li U1,0\n", }, /* convert char/short/int to longlong */ @@ -146,7 +146,7 @@ struct optab table[] = { SAREG, TCHAR|TSHORT|TSWORD, SBREG, TLONGLONG, NBREG|NBSL, RESC1, - " mr A1,AL ; convert char/short/int to longlong\n" + " mr A1,AL # convert char/short/int to longlong\n" " srawi U1,AL,31\n", }, /* convert (u)short to (u)char */ @@ -154,7 +154,7 @@ struct optab table[] = { SAREG, TSHORT|TUSHORT, SAREG, TCHAR|TUCHAR, NSPECIAL|NAREG|NASL, RESC1, - " andi. A1,AL,255 ; convert (u)short to (u)char\n", }, + " andi. A1,AL,255 # convert (u)short to (u)char\n", }, #if 0 /* convert (u)short to (u)char */ @@ -162,7 +162,7 @@ struct optab table[] = { SOREG, TSHORT|TUSHORT, SAREG, TCHAR|TUCHAR, NSPECIAL|NAREG|NASL, RESC1, - " lbz A1,AL ; convert (u)short to (u)char\n", }, + " lbz A1,AL # convert (u)short to (u)char\n", }, #endif /* convert short to int */ @@ -170,7 +170,7 @@ struct optab table[] = { SAREG, TSHORT, SAREG, TWORD, NAREG|NASL|NSPECIAL, RESC1, - " andi. A1,AL,63356 ; convert short to int\n", }, + " andi. A1,AL,63356 # convert short to int\n", }, #if 0 /* convert (u)short to uint int memory */ @@ -178,7 +178,7 @@ struct optab table[] = { SOREG, TUSHORT|TSHORT, SAREG, TWORD, NAREG|NASL|NSPECIAL, RESC1, - " lha A1,AL ; convert (u)short to int\n", }, + " lha A1,AL # convert (u)short to int\n", }, #endif /* convert ushort to (u)int. */ @@ -186,28 +186,28 @@ struct optab table[] = { SAREG, TUSHORT, SAREG, TWORD, NASL|NAREG|NSPECIAL, RESC1, - " andi. A1,AL,65535 ; convert ushort to word\n", }, + " andi. A1,AL,65535 # convert ushort to word\n", }, /* convert (u)int to (u)char */ { SCONV, INAREG, SAREG, TWORD, SAREG, TCHAR|TUCHAR, NAREG|NASL|NSPECIAL, RESC1, - " andi. A1,AL,255 ; convert (u)int to (u)char", }, + " andi. A1,AL,255 # convert (u)int to (u)char", }, /* convert (u)int to (u)char */ { SCONV, INAREG, SAREG, TWORD, SANY, TCHAR|TUCHAR, 0, RLEFT, - " ; convert (u)int to (u)char\n", }, + " # convert (u)int to (u)char\n", }, /* convert (u)int to (u)short */ { SCONV, INAREG, SAREG, TWORD, SAREG, TSHORT|TUSHORT, NAREG|NASL|NSPECIAL, RESC1, - " andi. A1,AL,65535 ; convert (u)int to (u)short\n", }, + " andi. A1,AL,65535 # convert (u)int to (u)short\n", }, /* * Subroutine calls. @@ -217,37 +217,37 @@ struct optab table[] = { SCON|SNAME, TANY, SANY, TANY, 0, 0, - " bl CL ; call (args, no result) to scon/sname (CL)\n", }, + " bl CL # call (args, no result) to scon/sname (CL)\n", }, { UCALL, FOREFF, SCON|SNAME, TANY, SANY, TANY, 0, 0, - " bl CL ; call (no args, no result) to scon/sname (CL)\n", }, + " bl CL # call (no args, no result) to scon/sname (CL)\n", }, { CALL, INAREG, SCON|SNAME, TANY, SAREG, TWORD|TPOINT|TSHORT|TUSHORT, NAREG|NASL, RESC1, /* should be 0 */ - " bl CL ; call (args, result in r3) to scon/sname (CL)\n", }, + " bl CL # call (args, result in r3) to scon/sname (CL)\n", }, { CALL, INBREG, SCON|SNAME, TANY, SBREG, TLONGLONG|TULONGLONG, NBREG|NBSL, RESC1, /* should be 0 */ - " bl CL ; call (args, result in r3:r4) to scon/sname (CL)\n", }, + " bl CL # call (args, result in r3:r4) to scon/sname (CL)\n", }, { UCALL, INAREG, SCON|SNAME, TANY, SAREG, TWORD|TPOINT|TSHORT|TUSHORT, NAREG|NASL, RESC1, /* should be 0 */ - " bl CL ; call (no args, result in r3) to scon/sname (CL)\n", }, + " bl CL # call (no args, result in r3) to scon/sname (CL)\n", }, { UCALL, INBREG, SCON|SNAME, TANY, SBREG, TLONGLONG|TULONGLONG, NBREG|NBSL, RESC1, /* should be 0 */ - " bl CL ; call (no args, result in r3:r4) to scon/sname (CL)\n", }, + " bl CL # call (no args, result in r3:r4) to scon/sname (CL)\n", }, /* struct return */ { USTCALL, FOREFF, @@ -295,20 +295,20 @@ struct optab table[] = { SAREG, TWORD|TPOINT, SONE, TANY, NSPECIAL, RLEFT, - " addi AL,AL,AR ; 1\n", }, + " addi AL,AL,AR # 1\n", }, /* XXX AL cannot be R0 */ { PLUS, INAREG, SAREG, TWORD|TPOINT, SSCON, TANY, NAREG|NASL|NSPECIAL, RESC1, - " addi A1,AL,AR ; addition of constant\n", }, + " addi A1,AL,AR # addition of constant\n", }, { PLUS, INBREG, SBREG, TLONGLONG|TULONGLONG, SSCON, TANY, NBREG|NBSL, RESC1, - " addic A1,AL,AR ; 64-bit addition of constant\n" + " addic A1,AL,AR # 64-bit addition of constant\n" " addze U1,UL", }, { PLUS, INAREG, @@ -321,7 +321,7 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, NBREG|NBSL, RESC1, - " addc A1,AL,AR ; 64-bit add\n" + " addc A1,AL,AR # 64-bit add\n" " adde U1,UL,UR\n", }, { MINUS, INAREG, @@ -353,7 +353,7 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, NBREG|NBSL, RESC1, - " subfc A1,AR,AL ; 64-bit subtraction\n" + " subfc A1,AR,AL # 64-bit subtraction\n" " subfe U1,UR,UL\n", }, /* @@ -364,13 +364,13 @@ struct optab table[] = { SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, NAREG|NASL, RESC1, - " slw A1,AL,AR ; left shift\n", }, + " slw A1,AL,AR # left shift\n", }, { LS, INAREG, SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, SCON, TANY, NAREG|NASL, RESC1, - " slwi A1,AL,AR ; left shift by constant\n", }, + " slwi A1,AL,AR # left shift by constant\n", }, { LS, INBREG, SBREG, TLONGLONG|TULONGLONG, @@ -382,13 +382,13 @@ struct optab table[] = { SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, NAREG|NASL, RESC1, - " srw A1,AL,AR ; right shift\n", }, + " srw A1,AL,AR # right shift\n", }, { RS, INAREG, SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, SCON, TANY, NAREG|NASL, RESC1, - " srwi A1,AL,AR ; right shift by constant\n", }, + " srwi A1,AL,AR # right shift by constant\n", }, { RS, INBREG, SBREG, TLONGLONG|TULONGLONG, @@ -445,7 +445,7 @@ struct optab table[] = { SAREG, TWORD|TPOINT, SNAME, TWORD|TPOINT, NSPECIAL, RDEST, - " lis AL,ha16(AR) ; assign sname to reg\n" + " lis AL,ha16(AR) # assign sname to reg\n" " lwz AL,lo16(AR)(AL)\n", }, /* assign memory to register */ @@ -453,14 +453,14 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SOREG, TLONGLONG|TULONGLONG, NSPECIAL, RDEST, - " lwz AL,AR ; assign llong to reg\n" + " lwz AL,AR # assign llong to reg\n" " lwz UL,UR\n" }, { ASSIGN, FOREFF|INAREG, SBREG, TLONGLONG|TULONGLONG, SNAME, TLONGLONG|TULONGLONG, NSPECIAL, RDEST, - " lis AL,ha16(AR) ; assign 64-bit sname to reg\n" + " lis AL,ha16(AR) # assign 64-bit sname to reg\n" " lwz AL,lo16(AR)(AL)\n" " lis UL,ha16(UR)\n" " lwz UL,lo16(UR)(UL)\n", }, @@ -470,7 +470,7 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SOREG, TSWORD, NSPECIAL, RDEST, - " lwz AL,AR ; load int/pointer into llong\n" + " lwz AL,AR # load int/pointer into llong\n" " srawi UL,AR,31\n" }, /* assign memory to register */ @@ -478,7 +478,7 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SOREG, TUNSIGNED|TPOINT, NSPECIAL, RDEST, - " lwz AL,AR ; load uint/pointer into (u)llong\n" + " lwz AL,AR # load uint/pointer into (u)llong\n" " li UL, 0\n" }, /* assign memory to register */ @@ -493,7 +493,7 @@ struct optab table[] = { SAREG, TUCHAR, SNAME, TUCHAR, NSPECIAL, RDEST, - " lis AL,ha16(AR) ; assign uchar sname to reg\n" + " lis AL,ha16(AR) # assign uchar sname to reg\n" " lbz AL,lo16(AR)(AL)\n", }, /* assign memory to register */ @@ -509,7 +509,7 @@ struct optab table[] = { SAREG, TCHAR, SNAME, TCHAR, NSPECIAL, RDEST, - " lis AL,ha16(AR) ; assign char sname to reg\n" + " lis AL,ha16(AR) # assign char sname to reg\n" " lbz AL,lo16(AR)(AL)\n" " extsb AL,AL\n", }, @@ -540,7 +540,7 @@ struct optab table[] = { SNAME, TWORD|TPOINT, SAREG, TWORD|TPOINT, NAREG|NSPECIAL, RDEST, - " lis A1,ha16(AL) ; assign reg to sname\n" + " lis A1,ha16(AL) # assign reg to sname\n" " stw AR,lo16(AL)(A1)\n", }, /* assign register to memory */ @@ -548,7 +548,7 @@ struct optab table[] = { SOREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, NSPECIAL, RDEST, - " stw AR,AL ; store 64-bit value\n" + " stw AR,AL # store 64-bit value\n" " stw UR,UL\n", }, /* assign register to memory */ @@ -556,7 +556,7 @@ struct optab table[] = { SNAME, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, NBREG|NSPECIAL, RDEST, - " lis A1,ha16(AL) ; assign reg to 64-bit sname\n" + " lis A1,ha16(AL) # assign reg to 64-bit sname\n" " stw AR,lo16(AL)(A1)\n" " lis U1,ha16(UL)\n" " stw UR,lo16(UL)(U1)\n", }, @@ -596,13 +596,13 @@ struct optab table[] = { SAREG, TWORD|TPOINT|TSHORT|TUSHORT|TCHAR|TUCHAR, SAREG, TWORD|TPOINT|TSHORT|TUSHORT|TCHAR|TUCHAR, 0, RDEST, - " mr AL,AR ; assign AR to AL\n", }, + " mr AL,AR # assign AR to AL\n", }, { ASSIGN, FOREFF|INBREG, SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, 0, RDEST, - " mr AL,AR ; assign UR:AR to UL:AL\n" + " mr AL,AR # assign UR:AR to UL:AL\n" " mr UL,UR\n", }, #if 0 @@ -654,7 +654,7 @@ struct optab table[] = { SAREG, TSWORD, SAREG, TSWORD, NAREG, RESC1, - " divw A1,AL,AR ; signed modulo\n" + " divw A1,AL,AR # signed modulo\n" " mullw A1,A1,AR\n" " subf A1,A1,AL\n", }, @@ -662,7 +662,7 @@ struct optab table[] = { SAREG, TWORD|TPOINT, SAREG, TUWORD|TPOINT, NAREG, RESC1, - " divwu A1,AL,AR ; unsigned modulo\n" + " divwu A1,AL,AR # unsigned modulo\n" " mullw A1,A1,AR\n" " subf A1,A1,AL\n", }, @@ -700,39 +700,39 @@ struct optab table[] = { SANY, TPOINT|TWORD, SOREG, TPOINT|TWORD, NAREG|NSPECIAL, RESC1, - " lwz A1,AL ; word load\n", }, + " lwz A1,AL # word load\n", }, { UMUL, INAREG, SANY, TANY, SOREG, TCHAR, NAREG|NSPECIAL, RESC1, - " lbz A1,AL ; char load\n" + " lbz A1,AL # char load\n" " extsb A1,A1\n", }, { UMUL, INAREG, SANY, TANY, SOREG, TUCHAR, NAREG|NSPECIAL, RESC1, - " lbz A1,AL ; uchar load\n", }, + " lbz A1,AL # uchar load\n", }, { UMUL, INAREG, SANY, TANY, SOREG, TSHORT, NAREG|NSPECIAL, RESC1, - " lhz A1,AL ; short load\n" + " lhz A1,AL # short load\n" " extsh A1,A1\n", }, { UMUL, INAREG, SANY, TANY, SOREG, TUSHORT, NAREG|NSPECIAL, RESC1, - " lhz A1,AL ; ushort load\n", }, + " lhz A1,AL # ushort load\n", }, { UMUL, INBREG, SANY, TANY, SOREG, TLONGLONG|TULONGLONG, NBREG, RESC1, - " lwz A1,AL ; 64-bit load\n" + " lwz A1,AL # 64-bit load\n" " lwz U1,UL\n", }, /* @@ -786,14 +786,14 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, NBREG|NBSL, RESC1, - " and A1,AL,AR ; 64-bit and\n" + " and A1,AL,AR # 64-bit and\n" " and U1,UL,UR\n" }, { AND, INBREG, SBREG, TLONGLONG|TULONGLONG, SSCON, TANY, 0, RLEFT, - " andi. AL,AL,AR ; 64-bit and with constant\n" + " andi. AL,AL,AR # 64-bit and with constant\n" " li UL,0\n" }, { OR, INAREG, @@ -812,14 +812,14 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, 0, RLEFT, - " or AL,AL,AR ; 64-bit or\n" + " or AL,AL,AR # 64-bit or\n" " or UL,UL,UR\n" }, { OR, INBREG, SBREG, TLONGLONG|TULONGLONG, SSCON, TANY, 0, RLEFT, - " ori AL,AL,AR ; 64-bit or with constant\n" }, + " ori AL,AL,AR # 64-bit or with constant\n" }, { ER, INAREG, SAREG, TWORD|TSHORT|TUSHORT|TCHAR|TUCHAR, @@ -837,14 +837,14 @@ struct optab table[] = { SBREG, TLONGLONG|TULONGLONG, SBREG, TLONGLONG|TULONGLONG, NBREG|NBSL, RESC1, - " xor A1,AL,AR ; 64-bit xor\n" + " xor A1,AL,AR # 64-bit xor\n" " xor U1,UL,UR\n" }, { ER, INBREG, SBREG, TLONGLONG|TULONGLONG, SSCON, TANY, 0, RLEFT, - " xori AL,AL,AR ; 64-bit xor with constant\n" }, + " xori AL,AL,AR # 64-bit xor with constant\n" }, /* * Jumps. @@ -871,14 +871,14 @@ struct optab table[] = { SANY, TANY, SOREG, TLONGLONG|TULONGLONG, NBREG, RESC1, - " lwz A1,AL ; load long from memory\n" + " lwz A1,AL # load long from memory\n" " lwz U1,UL\n", }, { OPLTYPE, INBREG, SANY, TANY, SNAME, TLONGLONG|TULONGLONG, NBREG, RESC1, - " lis A1,ha16(AL) ; load long from sname\n" + " lis A1,ha16(AL) # load long from sname\n" " lwz A1,lo16(AL)(A1)\n" " lis U1,ha16(UL)\n" " lwz U1,lo16(UL)(U1)\n", }, @@ -888,14 +888,14 @@ struct optab table[] = { SANY, TANY, SOREG, TWORD|TPOINT, NAREG, RESC1, - " lwz A1,AL ; load word from memory\n", }, + " lwz A1,AL # load word from memory\n", }, /* load word from memory */ { OPLTYPE, INAREG, SANY, TANY, SNAME, TWORD|TPOINT, NAREG|NSPECIAL, RESC1, - " lis A1,ha16(AL) ; load word from sname\n" + " lis A1,ha16(AL) # load word from sname\n" " lwz A1,lo16(AL)(A1)\n", }, /* load char from memory */ @@ -903,7 +903,7 @@ struct optab table[] = { SANY, TANY, SOREG, TCHAR, NAREG, RESC1, - " lbz A1,AL ; load char from memory\n" + " lbz A1,AL # load char from memory\n" " extsb A1,A1\n", }, /* load char from memory */ @@ -911,7 +911,7 @@ struct optab table[] = { SANY, TANY, SNAME, TCHAR, NAREG|NSPECIAL, RESC1, - " lis A1,ha16(AL) ; load char from sname\n" + " lis A1,ha16(AL) # load char from sname\n" " lbz A1,lo16(AL)(A1)\n" " extsb A1,A1\n", }, @@ -920,14 +920,14 @@ struct optab table[] = { SANY, TANY, SOREG, TUCHAR, NAREG, RESC1, - " lbz A1,AL ; load uchar from memory\n", }, + " lbz A1,AL # load uchar from memory\n", }, /* load uchar from memory */ { OPLTYPE, INAREG, SANY, TANY, SNAME, TUCHAR, NAREG|NSPECIAL, RESC1, - " lis A1,ha16(AL) ; load uchar from sname" + " lis A1,ha16(AL) # load uchar from sname" " lbz A1,lo16(AL)(A1)\n", }, /* load short from memory */ @@ -935,14 +935,14 @@ struct optab table[] = { SANY, TANY, SOREG, TSHORT|TUSHORT, NAREG, RESC1, - " lha A1,AL ; load (u)short from memory\n", }, + " lha A1,AL # load (u)short from memory\n", }, /* load short from memory */ { OPLTYPE, INAREG, SANY, TANY, SOREG, TSHORT|TUSHORT, NAREG|NSPECIAL, RESC1, - " lis A1,ha16(AL) ; load (u)short from sname\n" + " lis A1,ha16(AL) # load (u)short from sname\n" " lha A1,lo16(AL)(A1)\n", }, /* load from 16-bit constant */ @@ -950,14 +950,14 @@ struct optab table[] = { SANY, TANY, SSCON, TANY, NAREG, RESC1, - " li A1,AL ; load 16-bit constant\n", }, + " li A1,AL # load 16-bit constant\n", }, /* load from 16-bit constant */ { OPLTYPE, INBREG, SANY, TANY, SSCON, TANY, NBREG, RESC1, - " li A1,AL ; load 16-bit constant\n" + " li A1,AL # load 16-bit constant\n" " li U1,0\n", }, /* load from constant */ @@ -965,7 +965,7 @@ struct optab table[] = { SANY, TANY, SCON, TANY, NAREG|NASL|NSPECIAL, RESC1, - " lis A1,ha16(AL) ; load constant into register\n" + " lis A1,ha16(AL) # load constant into register\n" " addi A1,A1,lo16(AL)\n", }, /* load from constant */ @@ -973,7 +973,7 @@ struct optab table[] = { SANY, TANY, SCON, TANY, NBREG, RESC1, - " lis A1,ha16(AL) ; load constant into register\n" + " lis A1,ha16(AL) # load constant into register\n" " addi A1,A1,lo16(AL)\n" " lis U1,ha16(UL)\n" " addi U1,U1,lo16(UL)\n", }, @@ -983,14 +983,14 @@ struct optab table[] = { SANY, TANY, SAREG, TANY, NAREG, RESC1, - " mr A1,AL ; load AL into A1\n" }, + " mr A1,AL # load AL into A1\n" }, /* load from register */ { OPLTYPE, INBREG, SANY, TANY, SBREG, TLONGLONG|TULONGLONG, NBREG, RESC1, - " mr A1,AL ; load UL:AL into U1:A1\n" + " mr A1,AL # load UL:AL into U1:A1\n" " mr U1,UL\n", }, |