~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/sh/sh64/crange5.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
! Zero-sized range descriptors are handled well, but GAS should not emit
 
2
! them unnecessarily.  This can happen if .align handling and insn
 
3
! assembling does not cater to this specifically and completely.
 
4
! Test-case shortened from gcc.c-torture/execute/20000205-1.c.
 
5
 
 
6
        .text
 
7
_f:
 
8
        pt      .L2, tr0
 
9
        addi.l  r15, -32, r15
 
10
        gettr   tr5, r0
 
11
        st.q    r15, 0, r14
 
12
        st.q    r15, 24, r0
 
13
        st.q    r15, 16, r28
 
14
        st.q    r15, 8, r18
 
15
        add.l   r15, r63, r14
 
16
        add     r2, r63, r1
 
17
        beqi    r1, 0, tr0
 
18
        pt      _f, tr5
 
19
        andi    r1, 128, r28
 
20
        .align 2
 
21
.L8:
 
22
        pt      .L2, tr0
 
23
        movi    1, r2
 
24
.L2:
 
25
        nop
 
26