isa_traits.hh (3808:3406c3ffa645) | isa_traits.hh (3809:41f230650d69) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#ifndef __ARCH_SPARC_ISA_TRAITS_HH__ 33#define __ARCH_SPARC_ISA_TRAITS_HH__ 34 35#include "arch/sparc/types.hh" 36#include "arch/sparc/sparc_traits.hh" 37#include "config/full_system.hh" | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#ifndef __ARCH_SPARC_ISA_TRAITS_HH__ 33#define __ARCH_SPARC_ISA_TRAITS_HH__ 34 35#include "arch/sparc/types.hh" 36#include "arch/sparc/sparc_traits.hh" 37#include "config/full_system.hh" |
38#include "sim/host.hh" |
|
38 39class StaticInstPtr; 40 41namespace BigEndianGuest {} 42 43namespace SparcISA 44{ 45 class RegFile; 46 | 39 40class StaticInstPtr; 41 42namespace BigEndianGuest {} 43 44namespace SparcISA 45{ 46 class RegFile; 47 |
48 const int MachineBytes = 8; 49 |
|
47 //This makes sure the big endian versions of certain functions are used. 48 using namespace BigEndianGuest; 49 50 // SPARC has a delay slot 51 #define ISA_HAS_DELAY_SLOT 1 52 53 // SPARC NOP (sethi %(hi(0), g0) 54 const MachInst NoopMachInst = 0x01000000; --- 66 unchanged lines hidden --- | 50 //This makes sure the big endian versions of certain functions are used. 51 using namespace BigEndianGuest; 52 53 // SPARC has a delay slot 54 #define ISA_HAS_DELAY_SLOT 1 55 56 // SPARC NOP (sethi %(hi(0), g0) 57 const MachInst NoopMachInst = 0x01000000; --- 66 unchanged lines hidden --- |