This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Add sh4a tests to sim/testsuite/sim/sh


> + 	# FIXME I'm not sure if cmp is signed or unsigned.
> + 	# This seems wrong.
> + test_qnanm:
> + 	# Test negantive qnan
> + 	fldi0	fr11
> + 	mov.l	qnanm, r0
> + 	lds	r0, fpul
> + 	fsts	fpul, fr0
> + 	fipr	fv0, fv8
> + 	# fr11 should be minus qnan (or less)
> + 	flds	fr11, fpul
> + 	sts	fpul, r1
> + 	cmp/ge	r1, r0
> + 	bt	.L2
> + 	fail
> + .L2:

cmp/ge is signed.
cmp/hs is unsigned.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]