[Gems-users] Warning: in fn void magic_instruction_callback


Date: Thu, 17 Mar 2011 18:24:33 +0800
From: 李 建樟 <piliman9176@xxxxxxxxxxx>
Subject: [Gems-users] Warning: in fn void magic_instruction_callback
Hi all,
 
           the following warning
Warning: in fn void magic_instruction_callback(void*, void*, integer_t) in simics/commands.C:476: val is 1
Warning: in fn void magic_instruction_callback(void*, void*, integer_t) in simics/commands.C:476: val is 1
Warning: in fn void magic_instruction_callback(void*, void*, integer_t) in simics/commands.C:477: SIMICS_get_program_counter(proc_num) is [0x12fe8, line 0x12fc0]
Warning: in fn void magic_instruction_callback(void*, void*, integer_t) in simics/commands.C:477: SIMICS_get_program_counter(proc_num) is [0x12fe8, line 0x12fc0]
Warning: in fn void magic_instruction_callback(void*, void*, integer_t) in simics/commands.C:478: Unexpected magic call
Warning: in fn void magic_instruction_callback(void*, void*, integer_t) in simics/commands.C:478: Unexpected magic call

When I run fft or LU of splash-2 benchmark, there is not above warning and the val value is 4.
 
 But I run other benchmark such radiosity or fmm benchmark, the val value is 1
 
The simulation seem to not stop.
 
I can't profile my statistic data by using ruby0.dump-stat
 
My step
 
1. Add MAGIC_BREAKPOINT to benchmark at begin and end
2. simics > magic-break-enable
3. simics > c
4. in simics  run the benchmark
 
the simulation will stop at first MAGIC_BREAKPOINT
 
5. simics > instruction-fetch-mode instruction-fetch-trace
6. simics > istc-disable
7. simics > dstc-disable
8. simics > load-module ruby
9. simics > ruby.init
10 simics > c
 
the simulation will stop at second MAGIC_BREAKPOINT
 
11. ruby0.dump-stats result.stats
 
 I run fft or LU of splash-2 benchmark, the step 11 will appear.
But  I run other benchmark such radiosity or fmm benchmark, the step 11 will not appear.
 
what's wrong ? Anyone could help me, thanks
 
Allen lee
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] Warning: in fn void magic_instruction_callback, 李 建樟 <=