aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm/sh3.s
blob: ab70da38758e8c2b53d07ebc7fd8fb0f389dd752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
	.file	"test.c"
	.data

! Renesas SH cc1 (cygnus-2.7.1-950728) arguments: -O -fpeephole
! -ffunction-cse -freg-struct-return -fdelayed-branch -fcommon -fgnu-linker

gcc2_compiled.:
___gnu_compiled_c:
	.text
	.align 2
	.global	_fp_move_and_load_tests
	.global	_fp_arithmetic_tests
	.global _fp_misc_tests
	.global _main

_main:
_fp_move_and_load_tests:
	fmov.s	@r0,fr0
	fmov.s	fr0,@r0
	fmov.s	@r0+,fr0
	fmov.s	fr0,@-r0
	fmov.s	@(r0,r0),fr0
	fmov.s	fr0,@(r0,r0)
	fmov	fr0,fr1
	fldi0	fr0
	fldi1	fr0

_fp_arithmetic_tests:
	fadd	fr0,fr1
	fsub	fr0,fr1
	fmul	fr0,fr1
	fdiv	fr0,fr1
	fmac	fr0,fr0,fr1
	fcmp/eq	fr0,fr1
	fcmp/gt	fr0,fr1
	ftst/nan	fr0
	fneg	fr0
	fabs	fr0
	fsqrt	fr0
	float	fpul,fr0
	ftrc	fr0,fpul

_fp_misc_tests:
	fsts	fpul,fr0
	flds	fr0,fpul
	lds	r3,fpul
	lds.l	@r3+,fpul
	lds	r3,fpscr
	lds.l	@r3+,fpscr
	sts	fpul,r3
	sts.l	fpul,@-r3
	sts	fpscr,r3
	sts.l	fpscr,@-r3

	.section	.note.GNU-stack,"",@progbits