~ubuntu-branches/debian/sid/gdb/sid

« back to all changes in this revision

Viewing changes to sim/testsuite/sim/bfin/issue144.s

  • Committer: Package Import Robot
  • Author(s): Hector Oron
  • Date: 2012-01-28 00:41:20 UTC
  • mfrom: (1.4.9) (5.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20120128004120-bar1h77ark622noi
Tags: 7.4really-1
* New upstream release:
  - Many Python scripting improvements
  - Better support for ambiguous linespecs
  - Masked watchpoints
  - Tracepoint support improvements
  - Support for Texas Instruments TMS320C6x (tic6x-*-*)
  - A Renesas RL78 simulator (rl78-*-elf)
  - Some minor Remote protocol extensions and GDB/MI changes
* Temporarily disable gdb-multiarch and gdb-dbg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# mach: bfin
 
2
 
 
3
.include "testutils.inc"
 
4
        start
 
5
 
 
6
        a0=0;
 
7
        R0.L = 1;
 
8
        R0.H = 0;
 
9
        R0 *= R0;
 
10
        _DBG R0;
 
11
        _DBG A0;
 
12
 
 
13
        R7 = A0.w;
 
14
        DBGA ( R7.H , 0 );      DBGA ( R7.L , 0 );
 
15
 
 
16
        R0.L = -1;
 
17
        R0.H = 32767;
 
18
 
 
19
        _DBG R0;
 
20
 
 
21
        a0=0;
 
22
        R0 *= R0;
 
23
 
 
24
        _DBG R0;
 
25
        _DBG A0;
 
26
        R7 = A0.w;
 
27
        DBGA ( R7.H , 0 );      DBGA ( R7.L , 0 );
 
28
        R7 = A0.x;
 
29
        DBGA ( R7.L , 0x0 );
 
30
 
 
31
        pass