# sh testcase for divs and divu
# mach: all
# as(sh): -defsym sim_cpu=0
# as(shdsp): -defsym sim_cpu=1 -dsp
.include "testutils.inc"
start
divs_1: ! divide by one
set_grs_a5a5
mov #1, r0
div
/* Div.java
{{IS_NOTE
Purpose:
Description:
History:
Tue Dec 13 11:42:25 2005, Created by tomyeh
}}IS_NOTE
Copyright (C) 2005 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This
/* Div.java
{{IS_NOTE
Purpose:
Description:
History:
Fri Dec 30 17:49:49 2005, Created by tomyeh
}}IS_NOTE
Copyright (C) 2005 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This
/* div.c - div file for stdlib */
/* Copyright 1992-2001 Wind River Systems, Inc. */
/*
modification history
--------------------
01g,25sep01,gls fixed div_r to check for negative numerator (SPR #
/* div.c - div file for stdlib */
/* Copyright 1992-2001 Wind River Systems, Inc. */
/*
modification history
--------------------
01g,25sep01,gls fixed div_r to check for negative numerator (SPR #