[gem5-users] Query about microldstop.hh

2018-01-10 Thread Nidhi Kamath
Hello, In microldstop.hh, the class LdStop is the base class for load and store ops. But can somebody please explain me how can the load and store be differentiated from this class and also how can I directly print the output of this class from base.cc. Regards Nidhi ‌

[gem5-users] M5thread support on 32 bit system

2017-12-19 Thread Nidhi Kamath
Hello, I do understand that for multithreading in gem5 SE x86, I need to use m5threads. Correct me if I am wrong. Are m5threads supported on a 32 bit system ? I found an old mail archive which says that it does not support. Regards Nidhi ___

[gem5-users] Fault injection by changing the instructions.

2017-12-18 Thread Nidhi Kamath
Hello, I am running a simple program on gem5 SE mode , The program is as below *int a = 2;int b = 3;b = a+12;* In b=a+12 , the value of a is *loaded*, summed with 12 and *stored* in b. Instead of executing the load a, I want to change it to store a , Is there a way I can do it in Gem5 , If

[gem5-users] Error while compiling lipthread(m5 threads)

2017-12-17 Thread Nidhi Kamath
Hello, When I try to compile libpthread I get the below error lap318@lap318-HP-Compaq-6730b-KE717AV ~/gem5/m5threads $ make gcc -O3 -static-c -o pthread.o pthread.c *pthread.c:40:2: error: #error "spinlock routines not available for your arch!\n" #error "spinlock routines not

[gem5-users] Version of gem5

2017-12-17 Thread Nidhi Kamath
Hello, How do I find the version of gem5 in my system ? Regards Nidhi Sent with Mailtrack

[gem5-users] Running a pthread on Gem5 SE x86

2017-12-14 Thread Nidhi Kamath
Hello, I am trying to run a simple pthread program in gem5 SE x86 mode but it errors out. the program is as below #include #include int result; void *sum(void *threadid) { int a=5; int b=5; result = a+b; printf("result from 1st thread is %d\n",result); pthread_exit(NULL); }

[gem5-users] Running pthreads on gem5

2017-12-12 Thread Nidhi Kamath
Hello, I was trying to run a simple pthread program on x86 SE mode. Are m5threads the only way to do this ? When I try to compile libpthread I get the below error lap318@lap318-HP-Compaq-6730b-KE717AV ~/gem5/m5threads $ make gcc -O3 -static-c -o pthread.o pthread.c pthread.c:40:2: error:

Re: [gem5-users] use_kvm.hh

2017-08-14 Thread Nidhi Kamath
my case, "#define USE_KVM 0". > > https://gem5.googlesource.com/public/gem5/+/master/SConstruct#1295 > https://gem5.googlesource.com/public/gem5/+/master/src/SConscript#361 > > Cheers > Serhat Gesoglu > ________ > From: gem5-users [gem5-user

Re: [gem5-users] use_kvm.hh

2017-08-09 Thread Nidhi Kamath
version of gem5? Can you try rebuilding again? > > Cheers > Serhat Gesoglu > > From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Nidhi Kamath [ > nidhikamat...@gmail.com] > Sent: 09 August 2017 18:55 > To: gem5 users

Re: [gem5-users] use_kvm.hh

2017-08-09 Thread Nidhi Kamath
.ac.uk> wrote: > Hello, > It is an automatically created file, after building a system you can find > this file in gem5_dir/build/[arch]/config/ > > Hope this helps. > > Serhat Gesoglu > > From: gem5-users [gem5-users-

[gem5-users] use_kvm.hh

2017-08-09 Thread Nidhi Kamath
Hello, In the new gem5 git repository , the file system.cc in src/sim uses the file #include "config/use_kvm.hh". I cannot find this file in any location. What does this file and where can I find it? Regards Nidhi ___ gem5-users mailing list

Re: [gem5-users] Cannot compile the newest gem5 repository

2017-06-23 Thread Nidhi Kamath
ancesco > > On 22 June 2017 at 20:31, Nidhi Kamath <nidhikamat...@gmail.com> wrote: > >> Hello, >> >> I was trying to set up my gem5 repository. I followed the below steps >> >> Steps for getting a copy of the source code: >> >>- I

[gem5-users] Cannot compile the newest gem5 repository

2017-06-22 Thread Nidhi Kamath
Hello, I was trying to set up my gem5 repository. I followed the below steps Steps for getting a copy of the source code: - Install git. This is available in the git package on Ubuntu and Redhat and OS X macports or home-brew. - Clone the development repository git clone