Re: [Gems-users] ATMTP Transactions causing illegal instructions


Date: Fri, 31 Oct 2008 07:05:51 +1300
From: "Fuad Tabba" <fuad@xxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] ATMTP Transactions causing illegal instructions
Actually the checkpoint I'm using was created using simics 2.2.19. If that were the case then I would have a hard time starting ruby with that checkpoint to begin with, right? The checkpoint is running, so is ruby. Problem is that the hooks to the ATMTP instructions aren't being recognized for some reason....

Thanks.

Cheers,
/fuad


On Fri, Oct 31, 2008 at 3:58 AM, Derek Hower <drh5@xxxxxxxxxxx> wrote:
Checkpoints created in SImics 3.x are not compatible with Simics 2.x.  Are you reusing your checkpoints, or did you install a new OS when you moved down to 2.2.19?

-Derek

On Thu, Oct 30, 2008 at 12:22 AM, Fuad Tabba <fuad@xxxxxxxxxxxxxxxxx> wrote:
Hi,

Been having problems with Simics 3.0, so I downgraded to Simics 2.2.19...

Anyway, using the same binaries of ATMTP that were working in
GEMS/Simics 3, every time I do an ATMTP_CHECKPOINT instruction (i.e.
word 0x30500004), I get an illegal instruction error in the simulated
environment.

ATMTP is being loaded successfully, and all the barriers are there
(plus the same binary works if I just switch to simics 3). Is
something ATMTP-related not being registered correctly?

Thanks.

Cheers,
/fuad

PS. Below are my settings:-



 +----------------+    Copyright 1998-2005 by Virtutech, All Rights Reserved
 |   Virtutech    |    Version: simics-2.2.19
 |     Simics     |    Compiled: Tue Aug 16 20:22:30 CEST 2005
 +----------------+
   www.simics.com      "Virtutech" and "Simics" are trademarks of Virtutech AB

Type 'copyright' for details on copyright.
Type 'license' for details on warranty, copying, etc.
Type 'readme' for further information about this version.
Type 'help help' for info on the on-line documentation.

Changing to read-only mode
[cpu0] v:0x0000000000010b4c p:0x000000000a11cb4c  magic (sethi 0x40000, %g0)
### Executing "istc-disable"
Turning I-STC off and flushing old data
### Executing "dstc-disable"
Turning D-STC off and flushing old data
### Executing "stc-status"
D-STC is currently *OFF*
I-STC is currently *OFF*
### Executing "magic-break-disable"
Old cpu_switch_time: 1000000
### Executing "cpu-switch-time"
Current CPU switch time: 1000000 cycles (0.013333 seconds)
### Executing "c 1"
[cpu0] v:0x0000000000010b50 p:0x000000000a11cb50  sethi %hi(0x21400), %g1
### Executing "cpu-switch-time"
Current CPU switch time: 1 cycles (0.000000 seconds)
New cpu_switch_time: 1
### Executing "magic-break-enable"
### Executing "load-module ruby"
successful installation of the ruby timing model.
### Executing "ruby0.setparam_str REMOVE_SINGLE_CYCLE_DCACHE_FAST_PATH true"
### Executing "ruby0.setparam_str PROFILE_EXCEPTIONS true"
### Executing "ruby0.setparam_str PROFILE_XACT true"
### Executing "ruby0.setparam_str PROFILE_NONXACT false"
### Executing "ruby0.setparam_str XACT_MEMORY true"
### Executing "ruby0.setparam g_DEADLOCK_THRESHOLD 20000000"
### Executing "ruby0.setparam g_MEMORY_SIZE_BYTES 8589934592"
### Executing "ruby0.setparam g_RANDOM_SEED 1"
### Executing "ruby0.setparam g_PAGE_SIZE_BYTES 8192"
### Executing "ruby0.setparam_str ATMTP_ENABLED true"
### Executing "ruby0.setparam_str ATMTP_ABORT_ON_NON_XACT_INST true"
### Executing "ruby0.setparam_str ATMTP_ALLOW_SAVE_RESTORE_IN_XACT false"
### Executing "ruby0.setparam ATMTP_XACT_MAX_STORES 32"
### Executing "ruby0.setparam ATMTP_DEBUG_LEVEL 5"
### Executing "ruby0.setparam_str XACT_DEBUG false"
### Executing "ruby0.setparam XACT_DEBUG_LEVEL 1"
### Executing "ruby0.setparam g_PROCS_PER_CHIP 1"
### Executing "ruby0.setparam g_NUM_SMT_THREADS 1"
### Executing "ruby0.setparam g_SEQUENCER_OUTSTANDING_REQUESTS 16"
### Executing "ruby0.setparam_str XACT_ISOLATION_CHECK true"
### Executing "ruby0.setparam XACT_STORE_PREDICTOR_ENTRIES 0"
### Executing "ruby0.setparam XACT_STORE_PREDICTOR_HISTORY 0"
### Executing "ruby0.setparam XACT_STORE_PREDICTOR_THRESHOLD 0"
### Executing "ruby0.setparam SIMICS_RUBY_MULTIPLIER 1"
### Executing "ruby0.setparam OPAL_RUBY_MULTIPLIER 1"
### Executing "ruby0.setparam L1_CACHE_ASSOC 4"
### Executing "ruby0.setparam L1_CACHE_NUM_SETS_BITS 7"
### Executing "ruby0.setparam SEQUENCER_TO_CONTROLLER_LATENCY 1"
### Executing "ruby0.setparam L2_CACHE_ASSOC 8"
### Executing "ruby0.setparam L2_CACHE_NUM_SETS_BITS 14"
### Executing "ruby0.setparam L2_RESPONSE_LATENCY 20"
### Executing "ruby0.setparam L2_TAG_LATENCY 6"
### Executing "ruby0.setparam L2_REQUEST_LATENCY 15"
### Executing "ruby0.setparam MEMORY_RESPONSE_LATENCY_MINUS_2 448"
### Executing "ruby0.setparam NETWORK_LINK_LATENCY 14"
### Executing "ruby0.setparam_str g_NETWORK_TOPOLOGY PT_TO_PT"
### Executing "ruby0.setparam RECYCLE_LATENCY 1"
### Executing "ruby0.setparam NUMBER_OF_VIRTUAL_NETWORKS 5"
### Executing "ruby0.setparam g_NUM_MEMORIES 8"
### Executing "ruby0.setparam L2CACHE_TRANSITIONS_PER_RUBY_CYCLE 1000"
### Executing "ruby0.setparam DIRECTORY_TRANSITIONS_PER_RUBY_CYCLE 1000"
### Executing "ruby0.setparam XACT_LOG_BUFFER_SIZE 1024"
### Executing "ruby0.setparam_str PERFECT_FILTER true"
### Executing "ruby0.setparam_str PERFECT_VIRTUAL_FILTER true"
### Executing "ruby0.setparam_str PERFECT_SUMMARY_FILTER true"
### Executing "ruby0.setparam_str XACT_VISUALIZER false"
### Executing "ruby0.setparam_str XACT_LAZY_VM true"
### Executing "ruby0.setparam_str XACT_EAGER_CD true"
### Executing "ruby0.setparam_str XACT_NO_BACKOFF true"
### Executing "ruby0.setparam_str ENABLE_MAGIC_WAITING false"
### Executing "ruby0.setparam_str XACT_ENABLE_VIRTUALIZATION_LOGTM_SE false"
### Executing "ruby0.setparam_str ENABLE_WATCHPOINT false"
### Executing "ruby0.setparam XACT_FIRST_ACCESS_COST 0"
### Executing "ruby0.setparam XACT_FIRST_PAGE_ACCESS_COST 0"
### Executing "ruby0.init"
Ruby Timing Mode
Creating event queue...
Creating event queue done
Creating system...
 Processors: 1
  Copyright (C) 2007 Sun Microsystems, Inc.  All rights reserved.
  U.S. Government Rights - Commercial software.  Government users are
  subject to the Sun Microsystems, Inc. standard license agreement and
  applicable provisions of the FAR and its supplements.  Use is subject to
  license terms.  This distribution may include materials developed by
  third parties.Sun, Sun Microsystems and the Sun logo are trademarks or
  registered trademarks of Sun Microsystems, Inc. in the U.S. and other
  countries.  All SPARC trademarks are used under license and are
  trademarks or registered trademarks of SPARC International, Inc. in the
  U.S.  and other countries.

  The Adaptive Transactional Memory Test Platform (ATMTP) is developed and
  maintained by Kevin Moore and Dan Nussbaum of the Scalable Synchronization
  Research Group at Sun Microsystems Laboratories
  (http://research.sun.com/scalable/).  For information about ATMTP, see
  the GEMS website: http://www.cs.wisc.edu/gems/.

  Please send email to atmtp-interest@xxxxxxx with feedback, questions, or
  to request future announcements about ATMTP.

  ATMTP is distributed as part of the GEMS software toolset and is
  available for use and modification under the terms of version 2 of the
  GNU General Public License.  The GNU General Public License is contained
  in the file $GEMS/LICENSE.

Creating system done
Ruby initialization complete
Clearing stats...Done.


------------
Console window:-
Illegal Instruction
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



[← Prev in Thread] Current Thread [Next in Thread→]