Create
Edit
Diff
FrontPage
Index
Search
Changes
Login
はじめてのひき - FizzBuzzAsm_ia64
Title
! Version % gcc-4.3 -v Using built-in specs. Target: ia64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-15' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libssp --with-system-libunwind --enable-checking=release --build=ia64-linux-gnu --host=ia64-linux-gnu --target=ia64-linux-gnu Thread model: posix gcc version 4.3.3 (Debian 4.3.3-15) ! Optimized fizzbuzz.o: file format elf64-ia64-little Disassembly of section .text: 0000000000000000 <main>: 0: 00 30 29 10 80 05 [MII] alloc r38=ar.pfs,10,8,0 6: 50 02 00 62 00 e0 mov r37=b0 c: 04 08 00 84 mov r39=r1 10: 02 00 05 00 00 24 [MII] mov r32=1 11: LTOFF22X .rodata.str1.8+0x20 16: 20 02 04 00 48 00 addl r34=0,r1;; 1c: 00 00 04 00 nop.i 0x0 20: 02 10 01 44 18 10 [MII] ld8 r34=[r34] 20: LDXMOV .rodata.str1.8+0x20 21: LTOFF22X .rodata.str1.8+0x18 26: 30 02 04 00 48 00 addl r35=0,r1;; 2c: 00 00 04 00 nop.i 0x0 30: 02 18 01 46 18 10 [MII] ld8 r35=[r35] 30: LDXMOV .rodata.str1.8+0x18 31: LTOFF22X .rodata.str1.8+0x10 36: 40 02 04 00 48 00 addl r36=0,r1;; 3c: 00 00 04 00 nop.i 0x0 40: 02 20 01 48 18 10 [MII] ld8 r36=[r36] 40: LDXMOV .rodata.str1.8+0x10 41: LTOFF22X .rodata.str1.8 46: 10 02 04 00 48 00 addl r33=0,r1;; 4c: 00 00 04 00 nop.i 0x0 50: 00 08 01 42 18 10 [MII] ld8 r33=[r33] 50: LDXMOV .rodata.str1.8 56: 00 00 00 02 00 00 nop.i 0x0 5c: 00 00 04 00 nop.i 0x0 60: 03 00 00 00 01 00 [MII] nop.m 0x0 66: 00 01 80 2c 00 c0 sxt4 r16=r32;; 6c: 01 81 4c 80 shladd r14=r16,4,r16;; 70: 03 00 00 00 01 00 [MII] nop.m 0x0 76: f0 70 dc ee 29 c0 shl r15=r14,8;; 7c: e1 78 00 80 add r14=r14,r15;; 80: 03 00 00 00 01 00 [MII] nop.m 0x0 86: f0 70 bc de 29 c0 shl r15=r14,16;; 8c: e1 78 00 80 add r14=r14,r15;; 90: 0a 70 38 20 12 20 [MMI] shladd r14=r14,3,r16;; 96: 00 00 00 02 00 c0 nop.m 0x0 9c: 71 74 70 52 shr r14=r14,35 a0: 03 00 00 00 01 00 [MII] nop.m 0x0 a6: f0 f8 81 00 29 c0 extr r15=r32,31,1;; ac: e1 78 14 80 sub r14=r14,r15;; b0: 0b 78 38 00 13 20 [MMI] shladd r15=r14,4,r0;; b6: f0 78 38 0a 40 00 sub r15=r15,r14 bc: 00 00 04 00 nop.i 0x0;; c0: 10 38 3c 40 86 38 [MIB] cmp4.eq p7,p6=r15,r32 c6: 00 00 00 02 00 03 nop.i 0x0 cc: 30 00 00 42 (p06) br.cond.dptk.few f0 <main+0xf0> d0: 10 40 01 42 00 21 [MIB] mov r40=r33 d2: PCREL21B puts d6: 00 00 00 02 00 00 nop.i 0x0 dc: 08 00 00 50 br.call.sptk.many b0=d0 <main+0xd0> e0: 11 08 00 4e 00 21 [MIB] mov r1=r39 e6: 00 00 00 02 00 00 nop.i 0x0 ec: 50 01 00 40 br.few 230 <main+0x230>;; f0: 03 00 00 00 01 00 [MII] nop.m 0x0 f6: 00 01 80 2c 00 c0 sxt4 r16=r32;; fc: 01 81 40 80 shladd r14=r16,1,r16;; 100: 0b 70 38 1c 13 20 [MMI] shladd r14=r14,4,r14;; 106: 00 00 00 02 00 e0 nop.m 0x0 10c: e1 b8 dd 53 shl r15=r14,8;; 110: 0b 70 38 1e 00 20 [MMI] add r14=r14,r15;; 116: 00 00 00 02 00 e0 nop.m 0x0 11c: e1 78 bd 53 shl r15=r14,16;; 120: 0b 70 38 1e 00 20 [MMI] add r14=r14,r15;; 126: e0 70 40 20 40 00 shladd r14=r14,1,r16 12c: 00 00 04 00 nop.i 0x0;; 130: 01 00 00 00 01 00 [MII] nop.m 0x0 136: e0 18 3a 3c 29 e0 shr r14=r14,33 13c: f1 03 01 52 extr r15=r32,31,1;; 140: 0b 70 38 1e 05 20 [MMI] sub r14=r14,r15;; 146: e0 70 38 22 40 00 shladd r14=r14,2,r14 14c: 00 00 04 00 nop.i 0x0;; 150: 10 38 38 40 86 38 [MIB] cmp4.eq p7,p6=r14,r32 156: 00 00 00 02 00 03 nop.i 0x0 15c: 30 00 00 42 (p06) br.cond.dptk.few 180 <main+0x180> 160: 10 40 01 48 00 21 [MIB] mov r40=r36 162: PCREL21B puts 166: 00 00 00 02 00 00 nop.i 0x0 16c: 08 00 00 50 br.call.sptk.many b0=160 <main+0x160> 170: 11 08 00 4e 00 21 [MIB] mov r1=r39 176: 00 00 00 02 00 00 nop.i 0x0 17c: c0 00 00 40 br.few 230 <main+0x230>;; 180: 03 00 00 00 01 00 [MII] nop.m 0x0 186: 00 01 80 2c 00 c0 sxt4 r16=r32;; 18c: 01 81 44 80 shladd r14=r16,2,r16;; 190: 0b 70 38 1c 13 20 [MMI] shladd r14=r14,4,r14;; 196: 00 00 00 02 00 e0 nop.m 0x0 19c: e1 b8 dd 53 shl r15=r14,8;; 1a0: 0b 70 38 1e 00 20 [MMI] add r14=r14,r15;; 1a6: 00 00 00 02 00 e0 nop.m 0x0 1ac: e1 78 bd 53 shl r15=r14,16;; 1b0: 0b 70 38 1e 00 20 [MMI] add r14=r14,r15;; 1b6: e0 70 40 00 40 00 add r14=r14,r16 1bc: 00 00 04 00 nop.i 0x0;; 1c0: 01 00 00 00 01 00 [MII] nop.m 0x0 1c6: e0 00 3a 3e 29 e0 shr.u r14=r14,32 1cc: f1 03 01 52 extr r15=r32,31,1;; 1d0: 0b 70 38 1e 05 20 [MMI] sub r14=r14,r15;; 1d6: e0 70 38 20 40 00 shladd r14=r14,1,r14 1dc: 00 00 04 00 nop.i 0x0;; 1e0: 10 38 38 40 86 38 [MIB] cmp4.eq p7,p6=r14,r32 1e6: 00 00 00 02 00 03 nop.i 0x0 1ec: 30 00 00 42 (p06) br.cond.dptk.few 210 <main+0x210> 1f0: 10 40 01 46 00 21 [MIB] mov r40=r35 1f2: PCREL21B puts 1f6: 00 00 00 02 00 00 nop.i 0x0 1fc: 08 00 00 50 br.call.sptk.many b0=1f0 <main+0x1f0> 200: 11 08 00 4e 00 21 [MIB] mov r1=r39 206: 00 00 00 02 00 00 nop.i 0x0 20c: 30 00 00 40 br.few 230 <main+0x230>;; 210: 10 40 01 44 00 21 [MIB] mov r40=r34 212: PCREL21B printf 216: 90 02 80 00 42 00 mov r41=r32 21c: 08 00 00 50 br.call.sptk.many b0=210 <main+0x210> 220: 00 08 00 4e 00 21 [MII] mov r1=r39 226: 00 00 00 02 00 00 nop.i 0x0 22c: 00 00 04 00 nop.i 0x0 230: 0a 00 05 40 00 21 [MMI] adds r32=1,r32;; 236: 70 28 83 0c 73 00 cmp4.eq p7,p6=101,r32 23c: 00 00 04 00 nop.i 0x0 240: 10 00 00 00 01 00 [MIB] nop.m 0x0 246: 00 00 00 02 00 03 nop.i 0x0 24c: 20 fe ff 4a (p06) br.cond.dptk.few 60 <main+0x60> 250: 00 00 00 00 01 00 [MII] nop.m 0x0 256: 00 30 01 55 00 00 mov.i ar.pfs=r38 25c: 50 0a 00 07 mov b0=r37 260: 11 00 00 00 01 00 [MIB] nop.m 0x0 266: 00 00 00 02 00 80 nop.i 0x0 26c: 08 00 84 00 br.ret.sptk.many b0;; ! Normal fizzbuzz.o: file format elf64-ia64-little Disassembly of section .text: 0000000000000000 <main>: 0: 00 08 19 08 80 05 [MII] alloc r33=ar.pfs,6,4,0 6: 20 02 30 00 42 80 mov r34=r12 c: 01 66 fc 8c adds r12=-32,r12 10: 00 00 00 00 01 00 [MII] nop.m 0x0 16: 00 02 00 62 00 60 mov r32=b0 1c: 04 08 00 84 mov r35=r1 20: 0b 70 04 00 00 24 [MMI] mov r14=1;; 26: f0 80 8b 7e 46 00 adds r15=-16,r34 2c: 00 00 04 00 nop.i 0x0;; 30: 11 00 38 1e 90 11 [MIB] st4 [r15]=r14 36: 00 00 00 02 00 00 nop.i 0x0 3c: d0 03 00 40 br.few 400 <main+0x400>;; 40: 0b 80 c0 45 3f 23 [MMI] adds r16=-16,r34;; 46: 10 01 40 20 20 00 ld4 r17=[r16] 4c: 00 00 04 00 nop.i 0x0;; 50: 03 00 00 00 01 00 [MII] nop.m 0x0 56: 00 01 44 2c 00 c0 sxt4 r16=r17;; 5c: 01 80 00 84 mov r14=r16;; 60: 0b 70 38 00 13 20 [MMI] shladd r14=r14,4,r0;; 66: e0 70 40 00 40 00 add r14=r14,r16 6c: 00 00 04 00 nop.i 0x0;; 70: 03 00 00 00 01 00 [MII] nop.m 0x0 76: f0 70 dc ee 29 c0 shl r15=r14,8;; 7c: e1 78 00 80 add r14=r14,r15;; 80: 03 00 00 00 01 00 [MII] nop.m 0x0 86: f0 70 bc de 29 c0 shl r15=r14,16;; 8c: e1 78 00 80 add r14=r14,r15;; 90: 0b 70 38 00 12 20 [MMI] shladd r14=r14,3,r0;; 96: e0 70 40 00 40 00 add r14=r14,r16 9c: 00 00 04 00 nop.i 0x0;; a0: 03 00 00 00 01 00 [MII] nop.m 0x0 a6: e0 00 3a 3e 29 c0 shr.u r14=r14,32;; ac: e1 88 14 80 sub r14=r14,r17;; b0: 0b 70 44 1c 00 20 [MMI] add r14=r17,r14;; b6: 00 00 00 02 00 c0 nop.m 0x0 bc: 71 70 70 52 extr r14=r14,3,29;; c0: 02 78 00 1c 00 21 [MII] mov r15=r14 c6: e0 f8 45 00 29 00 extr r14=r17,31,1;; cc: f2 70 14 80 sub r16=r15,r14 d0: 0b 90 20 44 00 21 [MMI] adds r18=8,r34;; d6: 00 80 48 20 23 40 st4 [r18]=r16 dc: 82 10 01 84 adds r18=8,r34;; e0: 0b 70 00 24 10 10 [MMI] ld4 r14=[r18];; e6: e0 70 00 26 40 e0 shladd r14=r14,4,r0 ec: 81 10 01 84 adds r15=8,r34;; f0: 0b 78 00 1e 10 10 [MMI] ld4 r15=[r15];; f6: e0 70 3c 0a 40 00 sub r14=r14,r15 fc: 00 00 04 00 nop.i 0x0;; 100: 02 90 44 1c 05 20 [MII] sub r18=r17,r14 106: 00 41 88 00 42 00 adds r16=8,r34;; 10c: 00 00 04 00 nop.i 0x0 110: 02 00 48 20 90 11 [MII] st4 [r16]=r18 116: e0 40 88 00 42 00 adds r14=8,r34;; 11c: 00 00 04 00 nop.i 0x0 120: 0a 70 00 1c 10 10 [MMI] ld4 r14=[r14];; 126: 70 00 38 0c 73 00 cmp4.eq p7,p6=0,r14 12c: 00 00 04 00 nop.i 0x0 130: 10 00 00 00 01 00 [MIB] nop.m 0x0 136: 00 00 00 02 00 03 nop.i 0x0 13c: 40 00 00 42 (p06) br.cond.dptk.few 170 <main+0x170> 140: 0a 20 01 02 00 24 [MMI] addl r36=0,r1;; 140: LTOFF22X .rodata 141: LDXMOV .rodata 146: 40 02 90 30 20 00 ld8 r36=[r36] 14c: 00 00 04 00 nop.i 0x0 150: 10 00 00 00 01 00 [MIB] nop.m 0x0 152: PCREL21B puts 156: 00 00 00 02 00 00 nop.i 0x0 15c: 08 00 00 50 br.call.sptk.many b0=150 <main+0x150> 160: 11 08 00 46 00 21 [MIB] mov r1=r35 166: 00 00 00 02 00 00 nop.i 0x0 16c: 70 02 00 40 br.few 3d0 <main+0x3d0>;; 170: 0b 78 c0 45 3f 23 [MMI] adds r15=-16,r34;; 176: 10 01 3c 20 20 00 ld4 r17=[r15] 17c: 00 00 04 00 nop.i 0x0;; 180: 03 00 00 00 01 00 [MII] nop.m 0x0 186: 00 01 44 2c 00 c0 sxt4 r16=r17;; 18c: 01 80 00 84 mov r14=r16;; 190: 0b 70 38 00 10 20 [MMI] shladd r14=r14,1,r0;; 196: e0 70 40 00 40 00 add r14=r14,r16 19c: 00 00 04 00 nop.i 0x0;; 1a0: 0b 78 38 00 13 20 [MMI] shladd r15=r14,4,r0;; 1a6: e0 70 3c 00 40 00 add r14=r14,r15 1ac: 00 00 04 00 nop.i 0x0;; 1b0: 03 00 00 00 01 00 [MII] nop.m 0x0 1b6: f0 70 dc ee 29 c0 shl r15=r14,8;; 1bc: e1 78 00 80 add r14=r14,r15;; 1c0: 03 00 00 00 01 00 [MII] nop.m 0x0 1c6: f0 70 bc de 29 c0 shl r15=r14,16;; 1cc: e1 78 00 80 add r14=r14,r15;; 1d0: 0b 70 38 00 10 20 [MMI] shladd r14=r14,1,r0;; 1d6: e0 70 40 00 40 00 add r14=r14,r16 1dc: 00 00 04 00 nop.i 0x0;; 1e0: 03 00 00 00 01 00 [MII] nop.m 0x0 1e6: e0 00 3a 3e 29 c0 shr.u r14=r14,32;; 1ec: 31 70 78 52 extr r14=r14,1,31;; 1f0: 02 78 00 1c 00 21 [MII] mov r15=r14 1f6: e0 f8 45 00 29 40 extr r14=r17,31,1;; 1fc: f2 70 14 80 sub r18=r15,r14 200: 0b 80 10 44 00 21 [MMI] adds r16=4,r34;; 206: 00 90 40 20 23 e0 st4 [r16]=r18 20c: 41 10 01 84 adds r15=4,r34;; 210: 0b 70 00 1e 10 10 [MMI] ld4 r14=[r15];; 216: e0 70 00 22 40 00 shladd r14=r14,2,r0 21c: 42 10 01 84 adds r16=4,r34;; 220: 0b 80 00 20 10 10 [MMI] ld4 r16=[r16];; 226: e0 70 40 00 40 00 add r14=r14,r16 22c: 00 00 04 00 nop.i 0x0;; 230: 02 78 44 1c 05 20 [MII] sub r15=r17,r14 236: 20 21 88 00 42 00 adds r18=4,r34;; 23c: 00 00 04 00 nop.i 0x0 240: 02 00 3c 24 90 11 [MII] st4 [r18]=r15 246: 00 21 88 00 42 00 adds r16=4,r34;; 24c: 00 00 04 00 nop.i 0x0 250: 0a 80 00 20 10 10 [MMI] ld4 r16=[r16];; 256: 70 00 40 0c 73 00 cmp4.eq p7,p6=0,r16 25c: 00 00 04 00 nop.i 0x0 260: 10 00 00 00 01 00 [MIB] nop.m 0x0 266: 00 00 00 02 00 03 nop.i 0x0 26c: 40 00 00 42 (p06) br.cond.dptk.few 2a0 <main+0x2a0> 270: 0a 20 01 02 00 24 [MMI] addl r36=0,r1;; 270: LTOFF22X .rodata+0x10 271: LDXMOV .rodata+0x10 276: 40 02 90 30 20 00 ld8 r36=[r36] 27c: 00 00 04 00 nop.i 0x0 280: 10 00 00 00 01 00 [MIB] nop.m 0x0 282: PCREL21B puts 286: 00 00 00 02 00 00 nop.i 0x0 28c: 08 00 00 50 br.call.sptk.many b0=280 <main+0x280> 290: 11 08 00 46 00 21 [MIB] mov r1=r35 296: 00 00 00 02 00 00 nop.i 0x0 29c: 40 01 00 40 br.few 3d0 <main+0x3d0>;; 2a0: 0b 90 c0 45 3f 23 [MMI] adds r18=-16,r34;; 2a6: 10 01 48 20 20 00 ld4 r17=[r18] 2ac: 00 00 04 00 nop.i 0x0;; 2b0: 03 00 00 00 01 00 [MII] nop.m 0x0 2b6: 00 01 44 2c 00 c0 sxt4 r16=r17;; 2bc: 01 80 00 84 mov r14=r16;; 2c0: 0b 70 38 00 11 20 [MMI] shladd r14=r14,2,r0;; 2c6: e0 70 40 00 40 00 add r14=r14,r16 2cc: 00 00 04 00 nop.i 0x0;; 2d0: 0b 78 38 00 13 20 [MMI] shladd r15=r14,4,r0;; 2d6: e0 70 3c 00 40 00 add r14=r14,r15 2dc: 00 00 04 00 nop.i 0x0;; 2e0: 03 00 00 00 01 00 [MII] nop.m 0x0 2e6: f0 70 dc ee 29 c0 shl r15=r14,8;; 2ec: e1 78 00 80 add r14=r14,r15;; 2f0: 03 00 00 00 01 00 [MII] nop.m 0x0 2f6: f0 70 bc de 29 c0 shl r15=r14,16;; 2fc: e1 78 00 80 add r14=r14,r15;; 300: 0a 70 38 20 00 20 [MMI] add r14=r14,r16;; 306: 00 00 00 02 00 e0 nop.m 0x0 30c: 01 74 7c 52 shr.u r15=r14,32 310: 03 00 00 00 01 00 [MII] nop.m 0x0 316: e0 f8 45 00 29 c0 extr r14=r17,31,1;; 31c: f1 70 14 80 sub r14=r15,r14;; 320: 09 00 38 44 90 11 [MMI] st4 [r34]=r14 326: e0 00 88 20 20 00 ld4 r14=[r34] 32c: 00 00 04 00 nop.i 0x0;; 330: 09 70 38 00 10 20 [MMI] shladd r14=r14,1,r0 336: f0 00 88 20 20 00 ld4 r15=[r34] 33c: 00 00 04 00 nop.i 0x0;; 340: 0b 70 38 1e 00 20 [MMI] add r14=r14,r15;; 346: e0 88 38 0a 40 00 sub r14=r17,r14 34c: 00 00 04 00 nop.i 0x0;; 350: 09 00 38 44 90 11 [MMI] st4 [r34]=r14 356: 00 01 88 20 20 00 ld4 r16=[r34] 35c: 00 00 04 00 nop.i 0x0;; 360: 10 38 00 20 86 39 [MIB] cmp4.eq p7,p6=0,r16 366: 00 00 00 02 00 03 nop.i 0x0 36c: 40 00 00 42 (p06) br.cond.dptk.few 3a0 <main+0x3a0> 370: 0a 20 01 02 00 24 [MMI] addl r36=0,r1;; 370: LTOFF22X .rodata+0x18 371: LDXMOV .rodata+0x18 376: 40 02 90 30 20 00 ld8 r36=[r36] 37c: 00 00 04 00 nop.i 0x0 380: 10 00 00 00 01 00 [MIB] nop.m 0x0 382: PCREL21B puts 386: 00 00 00 02 00 00 nop.i 0x0 38c: 08 00 00 50 br.call.sptk.many b0=380 <main+0x380> 390: 11 08 00 46 00 21 [MIB] mov r1=r35 396: 00 00 00 02 00 00 nop.i 0x0 39c: 40 00 00 40 br.few 3d0 <main+0x3d0>;; 3a0: 0b 20 01 02 00 24 [MMI] addl r36=0,r1;; 3a0: LTOFF22X .rodata+0x20 3a1: LDXMOV .rodata+0x20 3a6: 40 02 90 30 20 40 ld8 r36=[r36] 3ac: 02 17 fd 8c adds r18=-16,r34;; 3b0: 10 28 01 24 10 10 [MIB] ld4 r37=[r18] 3b2: PCREL21B printf 3b6: 00 00 00 02 00 00 nop.i 0x0 3bc: 08 00 00 50 br.call.sptk.many b0=3b0 <main+0x3b0> 3c0: 00 08 00 46 00 21 [MII] mov r1=r35 3c6: 00 00 00 02 00 00 nop.i 0x0 3cc: 00 00 04 00 nop.i 0x0 3d0: 0b 78 c0 45 3f 23 [MMI] adds r15=-16,r34;; 3d6: e0 00 3c 20 20 00 ld4 r14=[r15] 3dc: 00 00 04 00 nop.i 0x0;; 3e0: 02 70 04 1c 00 21 [MII] adds r14=1,r14 3e6: 00 81 8b 7e 46 00 adds r16=-16,r34;; 3ec: 00 00 04 00 nop.i 0x0 3f0: 00 00 38 20 90 11 [MII] st4 [r16]=r14 3f6: 00 00 00 02 00 00 nop.i 0x0 3fc: 00 00 04 00 nop.i 0x0 400: 0b 90 c0 45 3f 23 [MMI] adds r18=-16,r34;; 406: e0 00 48 20 20 00 ld4 r14=[r18] 40c: 00 00 04 00 nop.i 0x0;; 410: 10 38 90 1d 86 31 [MIB] cmp4.lt p7,p6=100,r14 416: 00 00 00 02 00 03 nop.i 0x0 41c: 30 fc ff 4a (p06) br.cond.dptk.few 40 <main+0x40> 420: 00 00 00 00 01 00 [MII] nop.m 0x0 426: 00 08 01 55 00 00 mov.i ar.pfs=r33 42c: 00 0a 00 07 mov b0=r32 430: 11 60 00 44 00 21 [MIB] mov r12=r34 436: 00 00 00 02 00 80 nop.i 0x0 43c: 08 00 84 00 br.ret.sptk.many b0;;
人生、宇宙、すべての答え+1
:
Keyword(s) (one keyword per line)
[FizzBuzzAsm_ia64]
See
TextFormattingRules
for formatting help.
See TextFormattingRules for formatting help.