[gem5-users] Implementing Way-Prediction on GEM5

2021-04-20 Thread Tanner Lee Bryant via gem5-users
Hello,

My team and I are trying to implement cache Way-Prediction in GEM5 for a
project, but are struggling with where to start. Any tips would be greatly
appreciated.

Thank you,

-- 
*Tanner Bryant*
*University of Arizona*
tann...@email.arizona.edu
(520) 370-6426
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] How to debug a program in GEM5 FS mode.

2021-04-20 Thread Liyichao via gem5-users
Hi All:
 I am currently debugging a program with an SVE instruction in the FS 
mode of GEM5. However, a segment error occurs in the program. Therefore, I want 
to locate which instruction is causing the error and check the contents of the 
register of the error instruction. What are the debugging methods of GEM5 for 
applications in FS mode? Because programs with SVE instructions cannot be 
debugged directly on the ARM server, I want to debug in FS mode of GEM5.

Does the Remote GDB support the preceding operations? Are there detailed 
instructions for REMOTE GDB? The Remote GDB guidance on the GEM5 website is a 
little brief.

TKS.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: ARM and opening a file

2021-04-20 Thread Gabe Black via gem5-users
If this works on x86, the chances are good that the system call
implementations are fine since they're likely the same between the two, but
there could be some glue (flag translation, which system calls that are
hooked up) which is different. You should try enabling the system call
DPRINTF flags (--debug-flags on the command line) to see what system calls
are being called, and what they're returning. If a system call which isn't
implemented is being called, there should be a message about it from gem5.

Gabe

On Tue, Apr 20, 2021 at 1:45 PM Bobby Bruce via gem5-users <
gem5-users@gem5.org> wrote:

> Hey Majid,
>
> Are you running in FS or SE mode? If you're running in SE mode, I don't
> find this too surprising as not all System calls are currently supported.
>
> Kind regards,
> Bobby
> --
> Dr. Bobby R. Bruce
> Room 2235,
> Kemper Hall, UC Davis
> Davis,
> CA, 95616
>
> web: https://www.bobbybruce.net
>
>
> On Wed, Apr 14, 2021 at 8:16 PM Majid Jalili via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Hi,
>> When I was running SPEC CPU 2017, in particular 505.mcf_r, I noticed that
>> if gem5 should open a file, it will not make any progress. I dig into mcf
>> code and found when the read_min function is called the simulation freezes.
>> Then I started running a simple benchmark as follows, that just prints
>> the content of a file:
>>
>> https://www.geeksforgeeks.org/c-program-print-contents-file/
>>
>> For this example, I also run into the same problem. I tried X86 and
>> everything works just fine
>>
>> Repo:  I tried both dev and stable
>> gcc: aarch64-linux-gnu-gcc-7 aarch64-linux-gnu-gcc-5
>>
>> Any help is great!
>>
>>
>> ___
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: ARM and opening a file

2021-04-20 Thread Bobby Bruce via gem5-users
Hey Majid,

Are you running in FS or SE mode? If you're running in SE mode, I don't
find this too surprising as not all System calls are currently supported.

Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 2235,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Wed, Apr 14, 2021 at 8:16 PM Majid Jalili via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
> When I was running SPEC CPU 2017, in particular 505.mcf_r, I noticed that
> if gem5 should open a file, it will not make any progress. I dig into mcf
> code and found when the read_min function is called the simulation freezes.
> Then I started running a simple benchmark as follows, that just prints the
> content of a file:
>
> https://www.geeksforgeeks.org/c-program-print-contents-file/
>
> For this example, I also run into the same problem. I tried X86 and
> everything works just fine
>
> Repo:  I tried both dev and stable
> gcc: aarch64-linux-gnu-gcc-7 aarch64-linux-gnu-gcc-5
>
> Any help is great!
>
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Error while installing gem 5

2021-04-20 Thread ahmad sedigh via gem5-users
You have to wait till process finishes. Also you can drop the -j 5 then
wait. Building multicore makes system stalling but finishes eventually.

On Tue, 20 Apr 2021, 11:22 Hoa Nguyen via gem5-users, 
wrote:

> Hi,
>
> This discussion
> (https://www.mail-archive.com/gem5-users@gem5.org/msg19294.html) might
> have the information to make compiling process faster.
>
> Regards,
> Hoa Nguyen
>
> On 4/19/21, VAIDYA ROHINI VILAS via gem5-users 
> wrote:
> > Hi,
> > No error message is there.
> > process just stops at  [   LINK ]   -> ARM/gem5.opt
> > 
> > From: keshav via gem5-users 
> > Sent: 20 April 2021 10:48
> > To: gem5 users mailing list 
> > Cc: keshav 
> > Subject: [gem5-users] Re: Error while installing gem 5
> >
> > Hi,
> >
> > What's the error message that you get ?
> >
> > On Tue, 20 Apr, 2021, 10:31 am VAIDYA ROHINI VILAS via gem5-users,
> > mailto:gem5-users@gem5.org>> wrote:
> > Hello,
> > while building ARM or X86 architecture on gem5 I am using command "scons
> > build/X86/gem5.opt -j5" but scons is not yet build successfully. Here ,I
> > have attached screenshot where building of ARM stops.
> > Please, help me to solve this issue ASAP.
> > Thank you.
> > 
> > From: ahmad sedigh via gem5-users
> > mailto:gem5-users@gem5.org>>
> > Sent: 19 April 2021 13:31
> > To: gem5 users mailing list
> > mailto:gem5-users@gem5.org>>
> > Cc: ahmad sedigh mailto:ahmad.sb...@gmail.com>>
> > Subject: [gem5-users] Re: Error while installing gem 5
> >
> > Hello,
> > At this stage you should just press enter and continue.
> > The warning is negligible.
> >
> > Ahmad
> >
> > On Mon, Apr 19, 2021 at 1:55 PM VAIDYA ROHINI VILAS via gem5-users
> > mailto:gem5-users@gem5.org>> wrote:
> > Hello ,
> > I am trying to download gem5 in my new system having ubuntu version 20.04
> > using "git clone
> > https://github.com/gem5/gem5.git" . I
> also
> > tried from official documentation of gem 5 but while building gem5 using
> > command  "scons build/ARM/gem5.opt -j5"   i am getting error as "Scons:
> > Reading SConscript files ...
> >
> > You're missing the gem5 style or commit message hook. These hooks help
> > to ensure that your code follows gem5's style rules on git commit.
> > This script will now install the hook in your .git/hooks/ directory.
> > Press enter to continue, or ctrl-c to abort:  "
> > Please help me to solve this error ASAP.
> > Thank you.
> >
> >
> > ___
> > gem5-users mailing list -- gem5-users@gem5.org gem5-users@gem5.org>
> > To unsubscribe send an email to
> > gem5-users-le...@gem5.org
> > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> > ___
> > gem5-users mailing list -- gem5-users@gem5.org gem5-users@gem5.org>
> > To unsubscribe send an email to
> > gem5-users-le...@gem5.org
> > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> >
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Error while installing gem 5

2021-04-20 Thread Giacomo Travaglini via gem5-users
I believe it just takes a lot of time (I have been noticing the same).
Could you try to wait for completion?

Kind Regards

Giacomo

> -Original Message-
> From: VAIDYA ROHINI VILAS via gem5-users 
> Sent: 20 April 2021 06:32
> To: gem5 users mailing list 
> Cc: VAIDYA ROHINI VILAS 
> Subject: [gem5-users] Re: Error while installing gem 5
>
> Hi,
> No error message is there.
> process just stops at  [   LINK ]   -> ARM/gem5.opt
> 
>
> From: keshav via gem5-users 
> Sent: 20 April 2021 10:48
> To: gem5 users mailing list 
> Cc: keshav 
> Subject: [gem5-users] Re: Error while installing gem 5
>
> Hi,
>
> What's the error message that you get ?
>
> On Tue, 20 Apr, 2021, 10:31 am VAIDYA ROHINI VILAS via gem5-users,
> mailto:gem5-users@gem5.org> > wrote:
>
>
> Hello,
> while building ARM or X86 architecture on gem5 I am using command
> "scons build/X86/gem5.opt -j5" but scons is not yet build successfully. Here 
> ,I
> have attached screenshot where building of ARM stops.
> Please, help me to solve this issue ASAP.
> Thank you.
> 
>
> From: ahmad sedigh via gem5-users   >
> Sent: 19 April 2021 13:31
> To: gem5 users mailing list mailto:gem5-
> us...@gem5.org> >
> Cc: ahmad sedigh   >
> Subject: [gem5-users] Re: Error while installing gem 5
>
> Hello,
> At this stage you should just press enter and continue.
> The warning is negligible.
>
> Ahmad
>
> On Mon, Apr 19, 2021 at 1:55 PM VAIDYA ROHINI VILAS via gem5-
> users mailto:gem5-users@gem5.org> > wrote:
>
>
> Hello ,
> I am trying to download gem5 in my new system having
> ubuntu version 20.04 using "git clone https://github.com/gem5/gem5.git
>  " . I also tried from official
> documentation of gem 5 but while building gem5 using  command  "scons
> build/ARM/gem5.opt -j5"   i am getting error as "Scons: Reading SConscript
> files ...
>
> You're missing the gem5 style or commit message hook.
> These hooks help
> to ensure that your code follows gem5's style rules on git
> commit.
> This script will now install the hook in your .git/hooks/
> directory.
> Press enter to continue, or ctrl-c to abort:  "
> Please help me to solve this error ASAP.
> Thank you.
>
>
>
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> 
> To unsubscribe send an email to gem5-users-
> le...@gem5.org 
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org  us...@gem5.org>
> To unsubscribe send an email to gem5-users-le...@gem5.org
> 
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


[gem5-users] Re: Error while installing gem 5

2021-04-20 Thread Hoa Nguyen via gem5-users
Hi,

This discussion
(https://www.mail-archive.com/gem5-users@gem5.org/msg19294.html) might
have the information to make compiling process faster.

Regards,
Hoa Nguyen

On 4/19/21, VAIDYA ROHINI VILAS via gem5-users  wrote:
> Hi,
> No error message is there.
> process just stops at  [   LINK ]   -> ARM/gem5.opt
> 
> From: keshav via gem5-users 
> Sent: 20 April 2021 10:48
> To: gem5 users mailing list 
> Cc: keshav 
> Subject: [gem5-users] Re: Error while installing gem 5
>
> Hi,
>
> What's the error message that you get ?
>
> On Tue, 20 Apr, 2021, 10:31 am VAIDYA ROHINI VILAS via gem5-users,
> mailto:gem5-users@gem5.org>> wrote:
> Hello,
> while building ARM or X86 architecture on gem5 I am using command "scons
> build/X86/gem5.opt -j5" but scons is not yet build successfully. Here ,I
> have attached screenshot where building of ARM stops.
> Please, help me to solve this issue ASAP.
> Thank you.
> 
> From: ahmad sedigh via gem5-users
> mailto:gem5-users@gem5.org>>
> Sent: 19 April 2021 13:31
> To: gem5 users mailing list
> mailto:gem5-users@gem5.org>>
> Cc: ahmad sedigh mailto:ahmad.sb...@gmail.com>>
> Subject: [gem5-users] Re: Error while installing gem 5
>
> Hello,
> At this stage you should just press enter and continue.
> The warning is negligible.
>
> Ahmad
>
> On Mon, Apr 19, 2021 at 1:55 PM VAIDYA ROHINI VILAS via gem5-users
> mailto:gem5-users@gem5.org>> wrote:
> Hello ,
> I am trying to download gem5 in my new system having ubuntu version 20.04
> using "git clone
> https://github.com/gem5/gem5.git" . I also
> tried from official documentation of gem 5 but while building gem5 using
> command  "scons build/ARM/gem5.opt -j5"   i am getting error as "Scons:
> Reading SConscript files ...
>
> You're missing the gem5 style or commit message hook. These hooks help
> to ensure that your code follows gem5's style rules on git commit.
> This script will now install the hook in your .git/hooks/ directory.
> Press enter to continue, or ctrl-c to abort:  "
> Please help me to solve this error ASAP.
> Thank you.
>
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to
> gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to
> gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s