changeset 773:e35af486b436

minor fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 18 Nov 2010 17:12:15 +0900
parents 37e27e0c77d0
children 9f663c87b8eb
files Makefile test/bitfield.c
diffstat 2 files changed, 136 insertions(+), 135 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Nov 18 17:02:54 2010 +0900
+++ b/Makefile	Thu Nov 18 17:12:15 2010 +0900
@@ -1,4 +1,5 @@
-CC = gcc -std=c99 $(CCEXT) $(M)  -fgnu89-inline 
+GCC = gcc
+CC = $(GCC) -std=c99 $(CCEXT) $(M)  -fgnu89-inline 
 # -O3
 # MCFLAGS = -DUSE_CODE_KEYWORD
 CFLAGS = -g -Wall -I. $(MCFLAGS) # -O
--- a/test/bitfield.c	Thu Nov 18 17:02:54 2010 +0900
+++ b/test/bitfield.c	Thu Nov 18 17:12:15 2010 +0900
@@ -75,123 +75,123 @@
       g.u[0]=0;
       g.u[1]=0;
        
-printf("#0077:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0077:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. v = 1;
-printf("#0079:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0079:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. vsid = 0xffffff;
-printf("#0081:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0081:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. h = 1;
-printf("#0083:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0083:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. api = 3;
-printf("#0085:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0085:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. rpn = 3;
-printf("#0087:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0087:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.pte. r = 1;
-printf("#0090:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0090:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. c = 1;
-printf("#0092:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0092:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. w = 1;
-printf("#0094:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0094:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. i = 1;
-printf("#0096:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0096:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. m = 1;
-printf("#0098:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0098:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. g = 1;
-printf("#0100:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0100:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. pp = 3;
-printf("#0102:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0102:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
       g.u[0]=-1;
       g.u[1]=-1;
 
-printf("#0107:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0107:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. v = 0;
-printf("#0109:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0109:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. vsid = 0;
-printf("#0111:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0111:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. h = 0;
-printf("#0113:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0113:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. api = 0;
-printf("#0115:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0115:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. rpn = 0;
-printf("#0117:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0117:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.pte. r = 0;
-printf("#0120:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0120:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. c = 0;
-printf("#0122:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0122:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. w = 0;
-printf("#0124:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0124:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. i = 0;
-printf("#0126:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0126:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. m = 0;
-printf("#0128:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0128:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. g = 0;
-printf("#0130:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0130:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. pp = 0;
-printf("#0132:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0132:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
       g.u[0]=-1;
       g.u[1]=-1;
 
-printf("#0137:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0137:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. v = 0;
-printf("#0139:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0139:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. vsid = 0x555555;
-printf("#0141:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0141:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. h = 0;
-printf("#0143:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0143:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. api = 0x15;
-printf("#0145:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0145:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. rpn = 0x55555;
-printf("#0147:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0147:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.pte. r = 1;
-printf("#0150:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0150:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. c = 1;
-printf("#0152:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0152:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. w = 1;
-printf("#0154:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0154:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. i = 1;
-printf("#0156:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0156:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. m = 1;
-printf("#0158:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0158:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. g = 1;
-printf("#0160:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0160:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. pp = 3;
-printf("#0162:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0162:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
       g.u[0]=-1;
       g.u[1]=-1;
 
 for(i=0;i<0x200;i++) {
-printf("#0168:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0168:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. v = i;
-printf("#0170:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0170:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. vsid = i;
-printf("#0172:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0172:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. h = i;
-printf("#0174:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0174:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. api = i;
-printf("#0176:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0176:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. rpn = i;
-printf("#0178:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0178:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.pte. r = i;
-printf("#0181:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0181:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. c = i;
-printf("#0183:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0183:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. w = i;
-printf("#0185:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0185:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. i = i;
-printf("#0187:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0187:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. m = i;
-printf("#0189:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0189:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. g = i;
-printf("#0191:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0191:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.pte. pp = i;
-printf("#0193:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0193:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 }
 
       g = a;
@@ -214,123 +214,123 @@
       g.u[0]=0;
       g.u[1]=0;
        
-printf("#0216:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0216:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. v = 1;
-printf("#0218:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0218:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. vsid = 0xffffff;
-printf("#0220:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0220:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. h = 1;
-printf("#0222:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0222:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. api = 1;
-printf("#0224:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0224:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. rpn = 1;
-printf("#0226:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0226:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.sg. r = 1;
-printf("#0229:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0229:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. c = 1;
-printf("#0231:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0231:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. w = 1;
-printf("#0233:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0233:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. i = 1;
-printf("#0235:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0235:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. m = 1;
-printf("#0237:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0237:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. g = 1;
-printf("#0239:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0239:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. pp = 0x3;
-printf("#0241:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0241:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
       g.u[0]=-1;
       g.u[1]=-1;
 
-printf("#0246:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0246:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. v = 0;
-printf("#0248:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0248:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. vsid = 0;
-printf("#0250:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0250:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. h = 0;
-printf("#0252:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0252:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. api = 0;
-printf("#0254:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0254:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. rpn = 0;
-printf("#0256:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0256:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.sg. r = 0;
-printf("#0259:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0259:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. c = 0;
-printf("#0261:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0261:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. w = 0;
-printf("#0263:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0263:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. i = 0;
-printf("#0265:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0265:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. m = 0;
-printf("#0267:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0267:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. g = 0;
-printf("#0269:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0269:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. pp = 0;
-printf("#0271:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0271:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
       g.u[0]=-1;
       g.u[1]=-1;
 
-printf("#0276:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0276:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. v = 0;
-printf("#0278:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0278:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. vsid = 0;
-printf("#0280:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0280:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. h = 0;
-printf("#0282:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0282:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. api = 0;
-printf("#0284:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0284:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. rpn = 0;
-printf("#0286:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0286:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.sg. r = 0;
-printf("#0289:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0289:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. c = 0;
-printf("#0291:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0291:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. w = 0;
-printf("#0293:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0293:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. i = 0;
-printf("#0295:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0295:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. m = 0;
-printf("#0297:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0297:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. g = 0;
-printf("#0299:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0299:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. pp = 3;
-printf("#0301:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0301:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
       g.u[0]=-1;
       g.u[1]=-1;
 
 for(i=-0x100;i<0x100;i++) {
-printf("#0307:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0307:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. v = i;
-printf("#0309:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0309:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. vsid = i;
-printf("#0311:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0311:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. h = i;
-printf("#0313:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0313:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. api = i;
-printf("#0315:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0315:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. rpn = i;
-printf("#0317:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0317:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 
         g.sg. r = i;
-printf("#0320:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0320:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. c = i;
-printf("#0322:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0322:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. w = i;
-printf("#0324:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0324:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. i = i;
-printf("#0326:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0326:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. m = i;
-printf("#0328:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0328:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. g = i;
-printf("#0330:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0330:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
         g.sg. pp = i;
-printf("#0332:% 3d:  0x%08x%08x\n",i++,g.u[0],g.u[1]);
+printf("#0332:% 3d:  0x%08lx%08lx\n",i++,g.u[0],g.u[1]);
 }
 
 // printf("#0335:size of %d\n",sizeof(g.sg.pp));    no size of for bit-field
@@ -834,66 +834,66 @@
 
 
      g.pte.lpn = -333;
-     printf("#0836:main3l-0: %d\n",b);
+     printf("#0836:main3l-0: %lld\n",b);
      b = g.pte.lpn--;
-     printf("#0838:main3l-1: %d\n",b);
+     printf("#0838:main3l-1: %lld\n",b);
      b = g.pte.lpn++;
-     printf("#0840:main3l-2: %d\n",b);
+     printf("#0840:main3l-2: %lld\n",b);
      b = --g.pte.lpn;
-     printf("#0842:main3l-3: %d\n",b);
+     printf("#0842:main3l-3: %lld\n",b);
      b = ++g.pte.lpn;
-     printf("#0844:main3l-4: %d\n",b);
+     printf("#0844:main3l-4: %lld\n",b);
      b = (g.pte.lpn += 3);
-     printf("#0846:main3l-5: %d\n",b);
+     printf("#0846:main3l-5: %lld\n",b);
      b = (g.pte.lpn -= 3);
-     printf("#0848:main3l-6: %d\n",b);
+     printf("#0848:main3l-6: %lld\n",b);
      b = (g.pte.lpn *= 3);
-     printf("#0850:main3l-7: %d\n",b);
+     printf("#0850:main3l-7: %lld\n",b);
      b = (g.pte.lpn /= 3);
-     printf("#0852:main3l-8: %d\n",b);
+     printf("#0852:main3l-8: %lld\n",b);
      b = (g.pte.lpn %= 3);
-     printf("#0854:main3l-9: %d\n",b);
+     printf("#0854:main3l-9: %lld\n",b);
      b = (g.pte.lpn |= 3);
-     printf("#0856:main3l-10: %d\n",b);
+     printf("#0856:main3l-10: %lld\n",b);
      b = (g.pte.lpn &= 3);
-     printf("#0858:main3l-12: %d\n",b);
+     printf("#0858:main3l-12: %lld\n",b);
      b = (g.pte.lpn ^= 3);
-     printf("#0860:main3l-13: %d\n",b);
+     printf("#0860:main3l-13: %lld\n",b);
      b = (g.pte.lpn <<= 3);
-     printf("#0862:main3l-14: %d\n",b);
+     printf("#0862:main3l-14: %lld\n",b);
      b = (g.pte.lpn >>= 3);
-     printf("#0864:main3l-15: %d\n",b);
+     printf("#0864:main3l-15: %lld\n",b);
 
      g.pte.lpn = -333;
-     printf("#0867:main3l-16: %d\n",b);
+     printf("#0867:main3l-16: %lld\n",b);
      b = g.pte.lpn--;
-     printf("#0869:main3l-17: %d\n",b);
+     printf("#0869:main3l-17: %lld\n",b);
      b = g.pte.lpn++;
-     printf("#0871:main3l-18: %d\n",b);
+     printf("#0871:main3l-18: %lld\n",b);
      b = --g.pte.lpn;
-     printf("#0873:main3l-19: %d\n",b);
+     printf("#0873:main3l-19: %lld\n",b);
      b = ++g.pte.lpn;
-     printf("#0875:main3l-20: %d\n",b);
+     printf("#0875:main3l-20: %lld\n",b);
      b = (g.pte.lpn += i);
-     printf("#0877:main3l-21: %d\n",b);
+     printf("#0877:main3l-21: %lld\n",b);
      b = (g.pte.lpn -= i);
-     printf("#0879:main3l-22: %d\n",b);
+     printf("#0879:main3l-22: %lld\n",b);
      b = (g.pte.lpn *= i);
-     printf("#0881:main3l-23: %d\n",b);
+     printf("#0881:main3l-23: %lld\n",b);
      b = (g.pte.lpn /= i);
-     printf("#0883:main3l-24: %d\n",b);
+     printf("#0883:main3l-24: %lld\n",b);
      b = (g.pte.lpn %= i);
-     printf("#0885:main3l-25: %d\n",b);
+     printf("#0885:main3l-25: %lld\n",b);
      b = (g.pte.lpn |= i);
-     printf("#0887:main3l-26: %d\n",b);
+     printf("#0887:main3l-26: %lld\n",b);
      b = (g.pte.lpn &= i);
-     printf("#0889:main3l-27: %d\n",b);
+     printf("#0889:main3l-27: %lld\n",b);
      b = (g.pte.lpn ^= i);
-     printf("#0891:main3l-28: %d\n",b);
+     printf("#0891:main3l-28: %lld\n",b);
      b = (g.pte.lpn <<= i);
-     printf("#0893:main3l-29: %d\n",b);
+     printf("#0893:main3l-29: %lld\n",b);
      b = (g.pte.lpn >>= i);
-     printf("#0895:main3l-30: %d\n",b);
+     printf("#0895:main3l-30: %lld\n",b);
 
      return --b;
 }