OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.arch/] [ia64-breakpoint-shadow.S] - Blame information for rev 834

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/* Copyright 2009, 2010 Free Software Foundation, Inc.
2
 
3
   This program is free software; you can redistribute it and/or modify
4
   it under the terms of the GNU General Public License as published by
5
   the Free Software Foundation; either version 3 of the License, or
6
   (at your option) any later version.
7
 
8
   This program is distributed in the hope that it will be useful,
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
   GNU General Public License for more details.
12
 
13
   You should have received a copy of the GNU General Public License
14
   along with this program.  If not, see .
15
 
16
   This file is part of the gdb testsuite.
17
   It tests displaced stepping over various insns that require special
18
   handling.  */
19
 
20
        .text
21
        .align 16
22
        .global main
23
        .proc main
24
main:
25
        mov r2=r12
26
        mov r14=1
27
        ;;
28
bundle:
29
        /* Store value 1 into `long' variable on stack.  */
30
        st8.rel [r2]=r14
31
        /* This long constant requires L-X slot in this bundle.  */
32
        movl r14=0x7fffffff
33
        ;;
34
        /* Store value 0x7fffffff into `long' variable on stack.  */
35
        st8.rel [r2]=r14
36
        mov r14=r0
37
        ;;
38
        mov r8=r14
39
        mov r12=r2
40
        br.ret.sptk.many b0
41
 
42
        .endp main
43
 
44
        .section        .note.GNU-stack,"",@progbits

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.