HP Caliper User's Guide
/ux/libsobj_i380em/libs/libc/shared_em_32/obj/../../../../../core/libs/libc/shared_em_32/../core/gen/toupper.c]
(4) ~48 >
0 ~1,0x0000:0 M addl r8=0xffffffffffffd8d8,r1;;
:1 M ld4 r8=[r8]
:2 I nop.i 0x0;;
2 ~1,0x0010:0 M shladdp4 r8=r32,2,r8;;
:1 M ld4 r8=[r8]
:2 I nop.i 0x0
~1,0x0020:0 M nop.m 0x0
:1 M nop.m 0x0
:2 B br.ret.sptk.many b0;;
---------------------------------------------------
5.56 [wordplay::alphabetic, 0x4005b80, wordplay.c]
3 ~902 Function Totals
------------------------------------------
[/home/meagher/wordplay.c]
(0) ~902 >{
0 ~1,0x0000:0 M alloc r43=ar.pfs,0,13,1,0
:1 M addl r38=-48,r1
:2 I mov r33=b0
(1) ~907 > for (i = 0; i < (int) strlen (s); i++)
~3,0x0010:0 M mov r42=r1
:1 M addl r9=160,r1
:2 I mov r45=r32;;
~ ~ ~ ~ ~ ~ ~ ~
~909 > alphstr[pos++] = s[i];
~7,0x0060:0 M adds r44=144,r44
:1 I mov b6=r8
:2 B br.call.sptk.many b0=b6;;
(1) ~907 *> for (i = 0; i < (int) strlen (s); i++)
1 ~3,0x0070:0 M cmp4.ge.unc p6=r0,r8
:1 M mov r1=r42
:2 B (p6) br.cond.dpnt.many {self}+0x130;;
(1) ~908 *> if (((s[i] >= 'A') && (s[i] <= 'Z')) || ((s[i] >= 'a')
&& (s[i] <= 'z')))
1 ~5,0x0080:0 M ld1 r8=[r36],r35
:1 M ld8.acq r9=[r38]
:2 I adds r41=1,r41
(1) ~907 *> for (i = 0; i < (int) strlen (s); i++)
~3,0x0090:0 M mov r45=r32
:1 I mov r14=r42;;
:2 I mov b7=r9
~ ~ ~ ~ ~ ~ ~ ~
~3,0x00f0:0 M mov r1=r42
:1 M cmp4.lt.unc p6=r41,r8
:2 B (p6) br.cond.dptk.many {self}+0x80;;
(1) ~910 > alphstr[pos] = '\0';
1 ~3,0x0100:0 M addp4 r9=r40,r44
:1 I mov b0=r33
:2 I mov r8=r44;;
~3,0x0110:0 M st1 [r9]=r0
:1 I mov.i ar.pfs=r43
:2 B br.ret.sptk.many b0;;
---------------------------------------------------
5.56 [wordplay::extract, 0x4007f70, wordplay.c]
3 ~1052 Function Totals
------------------------------------------
[/home/meagher/wordplay.c]
(0) ~1052 >{
0 ~1,0x0000:0 M alloc r43=ar.pfs,0,20,2,8
:1 M addl r8=-64,r1
:2 I mov r16=b1
~1,0x0010:0 M adds r12=-144,r12
:1 M addl r9=-48,r1
:2 I mov r49=r1;;
~ ~ ~ ~ ~ ~ ~ ~
(1) ~1079 > s2len = (int) strlen (s2);
~3,0x00f0:0 M mov r14=r49
:1 M add r51=r42,r8
:2 I mov r42=r46;;
1 ~3,0x0100:0 M ld8 r1=[r39]
:1 M add r39=r8,r47
:2 I addp4 r45=0,r9
164 Producing a Sampled Call Graph Profile Analysis