# sh testcase for flds -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32

	.include "compact/testutils.inc"

	start

	fldi0 fr0
	flds fr0, fpul
	fsts fpul, fr1
	fcmp/eq fr0, fr1
	bf wrong
	
	fldi1 fr0
	flds fr0, fpul
	fsts fpul, fr1
	fcmp/eq fr0, fr1
	bf wrong

okay:
	pass

wrong:
	fail
