Figure 33 Mispredicted Branches Example

Function Details

----------------------------------------------------------------------------------------------

% Total

Target

 

 

 

 

 

Line

 

Taken

of

Branch

Branch

Taken

NTaken

%

Slot

>Statement

Mispr

Branch

Taken

NTaken

Mispr

Mispr

Mispr

Col,Offset

Instruction

----------------------------------------------------------------------------------------------

25.00[libc.so.1::__thread_mutex_lock, 0x40000000002123a0, wrappers1.c]

2 2 0 1 0 50.00~270 Function Totals

--------------------------------------------------------------------------------------

[File not found: /ux/libsobj_i80em/libs/libc/shared_em_64/obj/../../../../../core/libs/libc/shared_em_64/../core/threads/wrappers1.c]

(1)

(0)

(0)

(0)

(0)

 

~270

>

 

 

 

 

 

 

 

 

~1,0x0000:0

M

alloc

 

r33=ar.pfs,0,4,1,0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

M

addl

 

r8=-21784,r1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I

mov

 

r34=rp

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

1

0

0

0

0

 

[bundle]

 

 

 

 

0

 

0

 

 

~1,0x0010:0

M

addl

 

r35=0,r1

 

 

 

 

 

 

 

 

 

 

0

 

0

 

 

:1

M

addl

 

r9=-18600,r1

 

 

 

 

 

 

 

 

 

 

0

 

0

 

 

:2

I_

adds

 

r36=0,r32 ;;

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

(0)

(1)

(0)

(0)

(0)

(0.00)

~272

>

 

 

 

 

 

 

 

 

~1,0x0020:0

M

ld8

 

r10=[r8]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

I_

addl

 

r8=0,r0 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I_

mov.i

 

ar.pfs=r33 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~1,0x0030:0

M

ld4

 

r10=[r10]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

I_

mov

 

rp=r34,.+0 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I

tbit.z.unc

 

p0,p6=r10,1

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

0

1

0

0

0

0.00

[bundle]

 

 

 

 

0

 

0

 

 

~1,0x0040:0

M

nop.m

0

 

0

 

0

 

 

:1

M

nop.m

0

 

1

 

0

 

 

:2

B_(p6)

br.dpnt.many

 

{self}+0x60 ;;

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

 

 

 

 

 

 

~1,0x0050:0

M

nop.m

0

 

 

 

 

 

 

:1

M

nop.m

0

 

 

 

 

 

 

:2

B_

br.ret.sptk.many

rp ;;

 

 

 

 

 

 

 

 

 

(1)

(1)

(0)

(1)

(0) (100.00)

~273

>

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

1

0

0

0

0

 

[bundle]

 

 

 

 

0

 

0

 

 

~1,0x0060:0

M_

ld8

 

r8=[r9] ;;

 

 

 

 

 

 

 

 

 

 

0

 

0

 

 

:1

M

ld8

 

r8=[r8]

 

 

 

 

 

 

 

 

 

 

0

 

0

 

 

:2

I_

nop.i

0

;;

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

 

 

 

 

 

 

~1,0x0070:0

M_

adds

 

r8=16,r8 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

M

ld8

 

r8=[r8]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I_

nop.i

0

;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~1,0x0080:0

M_

adds

 

r9=8,r8 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

M

ld8

 

r8=[r8]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I

nop.i

0

 

 

 

 

 

 

~1,0x0090:0

M_

ld8

 

r1=[r9] ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

M

nop.m

0

 

 

 

 

 

 

:2

I

mov

 

b6=r8,.+0

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

0

1

0

1

0

100.00

[bundle]

 

 

 

 

0

 

0

 

 

~1,0x00a0:0

M

nop.m

0

 

0

 

0

 

 

:1

M

nop.m

0

 

1

 

1

 

 

:2

B_

br.call.dptk.many

rp=b6 ;;

 

 

 

 

 

 

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

 

 

 

 

 

 

 

 

 

~1,0x00b0:0

M

adds

 

r1=0,r35

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

I_

mov

 

rp=r34,.+0 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I

mov.i

 

ar.pfs=r33

 

 

 

 

 

 

 

 

 

Mispredicted Branches 165