SIMD integer instructions

Open discussion of PAPI.

SIMD integer instructions

Postby nsmeds » Tue Mar 05, 2013 11:23 am

Hi all,

I wanted to count integer vector instructions on SandyBridge, but from what I can find out from Intel docs and what PAPI reports as available events, this is not possible? Only floating point SSE and AVX events can be counted.

Anyone already investigated this and come to the same (or different) conclusion? The processor I tried on was Intel E5-2670.

Nothing like what I have on my laptop (IntelCore2 T9400) appears to be available:
Code: Select all
 SIMD_UOP_TYPE_EXEC                                                           |
|            SIMD packed multiply micro-ops executed                           |
|     :MUL                                                                     |
|            SIMD packed multiply micro-ops executed                           |
|     :SHIFT                                                                   |
|            SIMD packed shift micro-ops executed                              |
|     :PACK                                                                    |
|            SIMD pack micro-ops executed                                      |
|     :UNPACK                                                                  |
|            SIMD unpack micro-ops executed                                    |
|     :LOGICAL                                                                 |
|            SIMD packed logical micro-ops executed                            |
|     :ARITHMETIC                                                              |
|            SIMD packed arithmetic micro-ops executed   

| SIMD_INST_RETIRED                                                            |
|            Retired Streaming SIMD Extensions (SSE) packed-single instructions|
|                                                                              |
|     :PACKED_SINGLE                                                           |
|            Retired Streaming SIMD Extensions (SSE) packed-single instructions|
|                                                                              |
|     :SCALAR_SINGLE                                                           |
|            Retired Streaming SIMD Extensions (SSE) scalar-single instructions|
|                                                                              |
|     :PACKED_DOUBLE                                                           |
|            Retired Streaming SIMD Extensions 2 (SSE2) packed-double instructi|
|            ons                                                               |
|     :SCALAR_DOUBLE                                                           |
|            Retired Streaming SIMD Extensions 2 (SSE2) scalar-double instructi|
|            ons                                                               |
|     :VECTOR                                                                  |
|            Retired Streaming SIMD Extensions 2 (SSE2) vector integer instruct|
|            ions                                                              |
|     :ANY                                                                     |
|            Retired Streaming SIMD instructions (Precise Event)               |
nsmeds
 
Posts: 4
Joined: Tue Mar 05, 2013 11:15 am

Re: SIMD integer instructions

Postby danterpstra » Wed Mar 06, 2013 3:14 pm

Nils -
Be grateful for small favors. At least Sandy Bridge (sorta) counts Floating Point. Ivy Bridge doesn't even do that!
Rumor has it that the FP event still exists in Ivy, but it's been taken out of the documentation. We haven't verified that :)
Meanwhile Wikipedia, keeper of all knowledge, has the following sentence on its Advanced Vector Extensions (AVX) page:

Suitable for floating point-intensive calculations in multimedia, scientific and financial applications (integer operations are expected in later extensions).

That seems to suggest that integer AVX isn't supported yet...
danterpstra
 
Posts: 63
Joined: Wed Jun 23, 2010 2:21 pm

Re: SIMD integer instructions

Postby nsmeds » Thu Mar 07, 2013 4:17 am

True about AVX, but I can not see that I can count integer SSE instructions either.
Earlier CPUs had total SSE instructions and FP related SSE instructions. The difference indicates integer like instructions. But on SandyBridge I can not see a way to do the similar thing?

/Nils
nsmeds
 
Posts: 4
Joined: Tue Mar 05, 2013 11:15 am


Return to General discussion

Who is online

Users browsing this forum: Google [Bot] and 3 guests