mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
1368b914e9
Now that all port tests live under testsuite/sim/*/, and none live in testsuite/ directly, flatten the structure by moving all of the dirs under testsuite/sim/ to testsuite/ directly. We need to stop passing --tool to dejagnu so that it searches all dirs and not just ones that start with "sim". Since we have no other dirs in this tree, and no plans to add any, should be fine.
1299 lines
23 KiB
ArmAsm
1299 lines
23 KiB
ArmAsm
//Original:/proj/frio/dv/testcases/seq/se_undefinedinstruction4/se_undefinedinstruction4.dsp
|
|
// Description: 64 bit special cases Undefined Instructions in Supervisor Mode
|
|
# mach: bfin
|
|
# sim: --environment operating
|
|
|
|
#include "test.h"
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
//
|
|
// Constants and Defines
|
|
//
|
|
|
|
include(gen_int.inc)
|
|
include(selfcheck.inc)
|
|
include(std.inc)
|
|
include(mmrs.inc)
|
|
include(symtable.inc)
|
|
|
|
#ifndef STACKSIZE
|
|
#define STACKSIZE 0x10 // change for how much stack you need
|
|
#endif
|
|
#ifndef ITABLE
|
|
#define ITABLE 0xF0000000
|
|
#endif
|
|
|
|
GEN_INT_INIT(ITABLE) // set location for interrupt table
|
|
|
|
//
|
|
// Reset/Bootstrap Code
|
|
// (Here we should set the processor operating modes, initialize registers,
|
|
// etc.)
|
|
//
|
|
|
|
BOOT:
|
|
INIT_R_REGS(0); // initialize general purpose regs
|
|
|
|
INIT_P_REGS(0); // initialize the pointers
|
|
|
|
INIT_I_REGS(0); // initialize the dsp address regs
|
|
INIT_M_REGS(0);
|
|
INIT_L_REGS(0);
|
|
INIT_B_REGS(0);
|
|
|
|
CLI R1; // inhibit events during MMR writes
|
|
|
|
LD32_LABEL(sp, USTACK); // setup the user stack pointer
|
|
USP = SP;
|
|
|
|
LD32_LABEL(sp, KSTACK); // setup the kernel stack pointer
|
|
FP = SP; // and frame pointer
|
|
|
|
LD32(p0, EVT0); // Setup Event Vectors and Handlers
|
|
|
|
P0 += 4; // EVT0 not used (Emulation)
|
|
|
|
P0 += 4; // EVT1 not used (Reset)
|
|
|
|
LD32_LABEL(r0, NHANDLE); // NMI Handler (Int2)
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, XHANDLE); // Exception Handler (Int3)
|
|
[ P0 ++ ] = R0;
|
|
|
|
P0 += 4; // EVT4 not used (Global Interrupt Enable)
|
|
|
|
LD32_LABEL(r0, HWHANDLE); // HW Error Handler (Int5)
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, THANDLE); // Timer Handler (Int6)
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I7HANDLE); // IVG7 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I8HANDLE); // IVG8 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I9HANDLE); // IVG9 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I10HANDLE);// IVG10 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I11HANDLE);// IVG11 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I12HANDLE);// IVG12 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I13HANDLE);// IVG13 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I14HANDLE);// IVG14 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32_LABEL(r0, I15HANDLE);// IVG15 Handler
|
|
[ P0 ++ ] = R0;
|
|
|
|
LD32(p0, EVT_OVERRIDE);
|
|
R0 = 0;
|
|
[ P0 ++ ] = R0;
|
|
|
|
R1 = -1; // Change this to mask interrupts (*)
|
|
CSYNC; // wait for MMR writes to finish
|
|
STI R1; // sync and reenable events (implicit write to IMASK)
|
|
|
|
DUMMY:
|
|
|
|
A0 = 0; // reset accumulators
|
|
A1 = 0;
|
|
|
|
R0 = 0 (Z);
|
|
|
|
LT0 = r0; // set loop counters to something deterministic
|
|
LB0 = r0;
|
|
LC0 = r0;
|
|
LT1 = r0;
|
|
LB1 = r0;
|
|
LC1 = r0;
|
|
|
|
ASTAT = r0; // reset other internal regs
|
|
SYSCFG = r0;
|
|
RETS = r0; // prevent X's breaking LINK instruction
|
|
|
|
// The following code sets up the test for running in USER mode
|
|
|
|
LD32_LABEL(r0, STARTUSER);// One gets to user mode by doing a
|
|
// ReturnFromInterrupt (RTI)
|
|
RETI = r0; // We need to load the return address
|
|
|
|
// Comment the following line for a USER Mode test
|
|
|
|
JUMP STARTSUP; // jump to code start for SUPERVISOR mode
|
|
|
|
RTI;
|
|
|
|
STARTSUP:
|
|
LD32_LABEL(p1, BEGIN);
|
|
|
|
LD32(p0, EVT15);
|
|
|
|
CLI R1; // inhibit events during write to MMR
|
|
[ P0 ] = P1; // IVG15 (General) handler (Int 15) load with start
|
|
CSYNC; // wait for it
|
|
STI R1; // reenable events with proper imask
|
|
|
|
RAISE 15; // after we RTI, INT 15 should be taken
|
|
|
|
RTI;
|
|
|
|
//
|
|
// The Main Program
|
|
//
|
|
|
|
STARTUSER:
|
|
|
|
LINK 0; // change for how much stack frame space you need.
|
|
|
|
JUMP BEGIN;
|
|
|
|
//*********************************************************************
|
|
|
|
BEGIN:
|
|
|
|
// COMMENT the following line for USER MODE tests
|
|
[ -- SP ] = RETI; // enable interrupts in supervisor mode
|
|
|
|
// **** YOUR CODE GOES HERE ****
|
|
// Starting 64bit section COUNT = 6406
|
|
.dw 0xCF00 ;
|
|
.dw 0xFA4D ;
|
|
.dw 0x4973 ;
|
|
.dw 0x434D ;
|
|
.dw 0xCF01 ;
|
|
.dw 0x3CAF ;
|
|
.dw 0xE7F7 ;
|
|
.dw 0xACAD ;
|
|
.dw 0xCF02 ;
|
|
.dw 0xC9A3 ;
|
|
.dw 0x705D ;
|
|
.dw 0x8EFF ;
|
|
.dw 0xCF03 ;
|
|
.dw 0x242D ;
|
|
.dw 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 0xCFF8 ;
|
|
.dw 0xB1C9 ;
|
|
.dw 0x5AA7 ;
|
|
.dw 0x4121 ;
|
|
.dw 0xCFF9 ;
|
|
.dw 0x83A1 ;
|
|
.dw 0x5A65 ;
|
|
.dw 0x4161 ;
|
|
.dw 0xCFFA ;
|
|
.dw 0x9E7F ;
|
|
.dw 0xF1F ;
|
|
.dw 0x7E8F ;
|
|
.dw 0xCFFB ;
|
|
.dw 0x4D1F ;
|
|
.dw 0x7C11 ;
|
|
.dw 0xA17B ;
|
|
.dw 0xCFFC ;
|
|
.dw 0xB5FD ;
|
|
.dw 0x2AF7 ;
|
|
.dw 0x5C2B ;
|
|
.dw 0xCFFD ;
|
|
.dw 0xFA4F ;
|
|
.dw 0x580D ;
|
|
.dw 0x8E77 ;
|
|
.dw 0xCFFE ;
|
|
.dw 0xEB0B ;
|
|
.dw 0x633B ;
|
|
.dw 0x9099 ;
|
|
.dw 0xCFFF ;
|
|
.dw 0xE1A1 ;
|
|
.dw 0x7B5F ;
|
|
.dw 0xC9B ;
|
|
// COUNT = 6662
|
|
|
|
|
|
|
|
// count of UI's will be in r5, which was initialized to 0 by header
|
|
|
|
CHECK_INIT_DEF(p0); //CHECK_INIT(p0, 0xFF7FFFFC);
|
|
// Xhandler counts all EXCAUSE = 0x21;
|
|
CHECKREG(r5, 256); // count of all 16 bit UI's.
|
|
|
|
END:
|
|
dbg_pass; // End the test
|
|
|
|
//*********************************************************************
|
|
|
|
//
|
|
// Handlers for Events
|
|
//
|
|
|
|
NHANDLE: // NMI Handler 2
|
|
RTN;
|
|
|
|
XHANDLE: // Exception Handler 3
|
|
// 64 bit illegal opcode handler - skips bad instruction
|
|
|
|
[ -- SP ] = ASTAT; // save what we damage
|
|
[ -- SP ] = ( R7:6 );
|
|
R7 = SEQSTAT;
|
|
R7 <<= 26;
|
|
R7 >>= 26; // only want EXCAUSE
|
|
R6 = 0x21; // EXCAUSE 0x21 means I-Fetch Undefined Instruction
|
|
CC = r7 == r6;
|
|
IF CC JUMP UNDEFINEDINSTRUCTION; // If EXCAUSE != 0x21 then leave
|
|
|
|
dbg_fail;
|
|
|
|
UNDEFINEDINSTRUCTION:
|
|
R7 = RETX; // Fix up return address
|
|
|
|
R7 += 8; // skip offending 64 bit instruction
|
|
|
|
RETX = r7; // and put back in RETX
|
|
|
|
R5 += 1; // Increment global counter
|
|
|
|
OUT:
|
|
( R7:6 ) = [ SP ++ ];
|
|
ASTAT = [sp++];
|
|
|
|
RTX;
|
|
|
|
HWHANDLE: // HW Error Handler 5
|
|
RTI;
|
|
|
|
THANDLE: // Timer Handler 6
|
|
RTI;
|
|
|
|
I7HANDLE: // IVG 7 Handler
|
|
RTI;
|
|
|
|
I8HANDLE: // IVG 8 Handler
|
|
RTI;
|
|
|
|
I9HANDLE: // IVG 9 Handler
|
|
RTI;
|
|
|
|
I10HANDLE: // IVG 10 Handler
|
|
RTI;
|
|
|
|
I11HANDLE: // IVG 11 Handler
|
|
RTI;
|
|
|
|
I12HANDLE: // IVG 12 Handler
|
|
RTI;
|
|
|
|
I13HANDLE: // IVG 13 Handler
|
|
RTI;
|
|
|
|
I14HANDLE: // IVG 14 Handler
|
|
RTI;
|
|
|
|
I15HANDLE: // IVG 15 Handler
|
|
RTI;
|
|
|
|
|
|
// padding for the icache
|
|
|
|
EXCPT 0; EXCPT 0; EXCPT 0; EXCPT 0; EXCPT 0; EXCPT 0; EXCPT 0;
|
|
|
|
//
|
|
// Data Segment
|
|
//
|
|
|
|
.data
|
|
DATA:
|
|
.space (0x10);
|
|
|
|
// Stack Segments (Both Kernel and User)
|
|
|
|
.space (STACKSIZE);
|
|
KSTACK:
|
|
|
|
.space (STACKSIZE);
|
|
USTACK:
|