boegel / MICA

a Pin tool for collecting microarchitecture-independent workload characteristics
http://users.ugent.be/~kehoste/ELIS/MICA
Other
59 stars 34 forks source link

Question about the detailed mem_read instructions of instruction mix in MICA #25

Open WilliamWangPeng opened 2 years ago

WilliamWangPeng commented 2 years ago

Hello dear author,

It's my great honor to write a letter to you, I'm reading two articles[1][2] about mem_read instructions of instruction mix in MICA, I want to know the detailed mem_read instructions of instruction mix. Because x86 exists some arithmetic instructions of memory operands, which belongs to mem_read or arithmetic type ?

I have also searched on MICA github[3], but still can't find the answer.

[1]"Comparing Benchmarks Using Key Microarchitecture-Independent Characteristics"

[2]" MICROARCHITECTURE-INDEPENDENT WORKLOAD CHARACTERIZATION"

[3]https://github.com/boegel/MICA

thank you

best regards

William

amirjamez commented 2 years ago

Hi,

You can find detailed implementation of ILP instructions, including mem_read and write here: https://github.com/boegel/MICA/blob/master/mica_itypes.cpp

MICA is only a plugin for PIN. You need to refer to PIN manual: https://software.intel.com/sites/landingpage/pintool/docs/98579/Pin/doc/html/index.html

On Fri., May 20, 2022, 05:37 william, @.***> wrote:

Hello dear author,

It's my great honor to write a letter to you, I'm reading two articles[1][2] about mem_read instructions of instruction mix in MICA, I want to know the detailed mem_read instructions of instruction mix. Because x86 exists some arithmetic instructions of memory operands, which belongs to mem_read or arithmetic type ?

I have also searched on MICA github[3], but still can't find the answer.

[1]"Comparing Benchmarks Using Key Microarchitecture-Independent Characteristics"

[2]" MICROARCHITECTURE-INDEPENDENT WORKLOAD CHARACTERIZATION"

[3]https://github.com/boegel/MICA

thank you

best regards

William

— Reply to this email directly, view it on GitHub https://github.com/boegel/MICA/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHVIRKPZXWUG5E2235TVK5MNLANCNFSM5WO4B3BQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

WilliamWangPeng commented 2 years ago

Hi, You can find detailed implementation of ILP instructions, including mem_read and write here: https://github.com/boegel/MICA/blob/master/mica_itypes.cpp MICA is only a plugin for PIN. You need to refer to PIN manual: https://software.intel.com/sites/landingpage/pintool/docs/98579/Pin/doc/html/index.html On Fri., May 20, 2022, 05:37 william, @.> wrote: Hello dear author, It's my great honor to write a letter to you, I'm reading two articles[1][2] about mem_read instructions of instruction mix in MICA, I want to know the detailed mem_read instructions of instruction mix. Because x86 exists some arithmetic instructions of memory operands, which belongs to mem_read or arithmetic type ? I have also searched on MICA github[3], but still can't find the answer. [1]"Comparing Benchmarks Using Key Microarchitecture-Independent Characteristics" [2]" MICROARCHITECTURE-INDEPENDENT WORKLOAD CHARACTERIZATION" [3]https://github.com/boegel/MICA thank you best regards William — Reply to this email directly, view it on GitHub <#25>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHVIRKPZXWUG5E2235TVK5MNLANCNFSM5WO4B3BQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

thank you dear @amirjamez I have found five indexes about "memory operand", which shows
"// Note that in some architectures a single memory operand can be both read and written (for instance incl (%eax) on IA-32) In that case we instrument it once for read and once for write" in the picture below. Does that mean some arithmetic instructions of memory operands belongs to mem_read type ?

image

thank you so much best regards with kindness William

amirjamez commented 2 years ago

Yes. I believe so.

On Sun, May 22, 2022 at 9:51 AM william @.***> wrote:

Hi, You can find detailed implementation of ILP instructions, including mem_read and write here: https://github.com/boegel/MICA/blob/master/mica_itypes.cpp MICA is only a plugin for PIN. You need to refer to PIN manual: https://software.intel.com/sites/landingpage/pintool/docs/98579/Pin/doc/html/index.html … <#m-7030413695326115095> On Fri., May 20, 2022, 05:37 william, @.> wrote: Hello dear author, It's my great honor to write a letter to you, I'm reading two articles[1][2] about mem_read instructions of instruction mix in MICA, I want to know the detailed mem_read instructions of instruction mix. Because x86 exists some arithmetic instructions of memory operands, which belongs to mem_read or arithmetic type ? I have also searched on MICA github[3], but still can't find the answer. [1]"Comparing Benchmarks Using Key Microarchitecture-Independent Characteristics" [2]" MICROARCHITECTURE-INDEPENDENT WORKLOAD CHARACTERIZATION" [3]https://github.com/boegel/MICA https://github.com/boegel/MICA thank you best regards William — Reply to this email directly, view it on GitHub <#25 https://github.com/boegel/MICA/issues/25>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHVIRKPZXWUG5E2235TVK5MNLANCNFSM5WO4B3BQ https://github.com/notifications/unsubscribe-auth/ACECKHVIRKPZXWUG5E2235TVK5MNLANCNFSM5WO4B3BQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

thank you dear @amirjamez https://github.com/amirjamez I have found five indexes about "memory operand", which shows "// Note that in some architectures a single memory operand can be both read and written (for instance incl (%eax) on IA-32) In that case we instrument it once for read and once for write" in the picture below. Does that mean some arithmetic instructions of memory operands belongs to mem_read type ?

[image: image] https://user-images.githubusercontent.com/51076736/169698298-7351ea81-1bb9-4bf3-815d-5648d5a88016.png

thank you so much best regards with kindness William

— Reply to this email directly, view it on GitHub https://github.com/boegel/MICA/issues/25#issuecomment-1133900698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHU37AUPIESMWX3QWBTVLI3W5ANCNFSM5WO4B3BQ . You are receiving this because you were mentioned.Message ID: @.***>