d08c2860da
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 16:26:21 up 4 days 3:32, 2 users, load average: 0.85, 0.91, 0.95
22365 lines
1.3 MiB
22365 lines
1.3 MiB
#include <stdio.h>
|
|
int main(void) {
|
|
int exit_code = 0;
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x+y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x80000000,0x0,(signed int)(x+y)==0x0?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x+y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x80000001,0x1,(signed int)(x+y)==0x1?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x+y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0xfffffffe,0x7ffffffe,(signed int)(x+y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x+y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0xffffffff,0x7fffffff,(signed int)(x+y)==0x7fffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x+y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x0,0x80000000,(signed int)(x+y)==0x80000000?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x+y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x1,0x80000001,(signed int)(x+y)==0x80000001?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x2,0x80000002,(signed int)(x+y)==0x80000002?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x7ffffffe,0xfffffffe,(signed int)(x+y)==0xfffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"+",0x7fffffff,0xffffffff,(signed int)(x+y)==0xffffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x+y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0x80000001,0x2,(signed int)(x+y)==0x2?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x+y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0xfffffffe,0x7fffffff,(signed int)(x+y)==0x7fffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x+y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0xffffffff,0x80000000,(signed int)(x+y)==0x80000000?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x+y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0x0,0x80000001,(signed int)(x+y)==0x80000001?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x+y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0x1,0x80000002,(signed int)(x+y)==0x80000002?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0x2,0x80000003,(signed int)(x+y)==0x80000003?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0x7ffffffe,0xffffffff,(signed int)(x+y)==0xffffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"+",0x7fffffff,0x0,(signed int)(x+y)==0x0?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x+y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0xfffffffe,0xfffffffc,(signed int)(x+y)==0xfffffffc?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x+y)!=(signed int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0xffffffff,0xfffffffd,(signed int)(x+y)==0xfffffffd?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x+y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0x0,0xfffffffe,(signed int)(x+y)==0xfffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x+y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0x1,0xffffffff,(signed int)(x+y)==0xffffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0x2,0x0,(signed int)(x+y)==0x0?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)2147483644) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0x7ffffffe,0x7ffffffc,(signed int)(x+y)==0x7ffffffc?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"+",0x7fffffff,0x7ffffffd,(signed int)(x+y)==0x7ffffffd?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x+y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"+",0xffffffff,0xfffffffe,(signed int)(x+y)==0xfffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x+y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"+",0x0,0xffffffff,(signed int)(x+y)==0xffffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x+y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"+",0x1,0x0,(signed int)(x+y)==0x0?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"+",0x2,0x1,(signed int)(x+y)==0x1?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"+",0x7ffffffe,0x7ffffffd,(signed int)(x+y)==0x7ffffffd?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"+",0x7fffffff,0x7ffffffe,(signed int)(x+y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x+y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"+",0x0,0x0,(signed int)(x+y)==0x0?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x+y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"+",0x1,0x1,(signed int)(x+y)==0x1?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"+",0x2,0x2,(signed int)(x+y)==0x2?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"+",0x7ffffffe,0x7ffffffe,(signed int)(x+y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"+",0x7fffffff,0x7fffffff,(signed int)(x+y)==0x7fffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x+y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"+",0x1,0x2,(signed int)(x+y)==0x2?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"+",0x2,0x3,(signed int)(x+y)==0x3?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"+",0x7ffffffe,0x7fffffff,(signed int)(x+y)==0x7fffffff?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"+",0x7fffffff,0x80000000,(signed int)(x+y)==0x80000000?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x+y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"+",0x2,0x4,(signed int)(x+y)==0x4?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"+",0x7ffffffe,0x80000000,(signed int)(x+y)==0x80000000?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"+",0x7fffffff,0x80000001,(signed int)(x+y)==0x80000001?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x+y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"+",0x7ffffffe,0xfffffffc,(signed int)(x+y)==0xfffffffc?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"+",0x7fffffff,0xfffffffd,(signed int)(x+y)==0xfffffffd?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x+y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"+",0x7fffffff,0xfffffffe,(signed int)(x+y)==0xfffffffe?"PASS":"FAIL",(signed int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x80000000,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x-y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x80000001,0xffffffff,(signed int)(x-y)==0xffffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x-y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0xfffffffe,0x80000002,(signed int)(x-y)==0x80000002?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x-y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0xffffffff,0x80000001,(signed int)(x-y)==0x80000001?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x-y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x0,0x80000000,(signed int)(x-y)==0x80000000?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x-y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x1,0x7fffffff,(signed int)(x-y)==0x7fffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x2,0x7ffffffe,(signed int)(x-y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x7ffffffe,0x2,(signed int)(x-y)==0x2?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"-",0x7fffffff,0x1,(signed int)(x-y)==0x1?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0x80000001,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x-y)!=(signed int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0xfffffffe,0x80000003,(signed int)(x-y)==0x80000003?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x-y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0xffffffff,0x80000002,(signed int)(x-y)==0x80000002?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x-y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0x0,0x80000001,(signed int)(x-y)==0x80000001?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x-y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0x1,0x80000000,(signed int)(x-y)==0x80000000?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0x2,0x7fffffff,(signed int)(x-y)==0x7fffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0x7ffffffe,0x3,(signed int)(x-y)==0x3?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"-",0x7fffffff,0x2,(signed int)(x-y)==0x2?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0xfffffffe,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x-y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0xffffffff,0xffffffff,(signed int)(x-y)==0xffffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x-y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0x0,0xfffffffe,(signed int)(x-y)==0xfffffffe?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x-y)!=(signed int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0x1,0xfffffffd,(signed int)(x-y)==0xfffffffd?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0x2,0xfffffffc,(signed int)(x-y)==0xfffffffc?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0x7ffffffe,0x80000000,(signed int)(x-y)==0x80000000?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"-",0x7fffffff,0x7fffffff,(signed int)(x-y)==0x7fffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"-",0xffffffff,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x-y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"-",0x0,0xffffffff,(signed int)(x-y)==0xffffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x-y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"-",0x1,0xfffffffe,(signed int)(x-y)==0xfffffffe?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"-",0x2,0xfffffffd,(signed int)(x-y)==0xfffffffd?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"-",0x7ffffffe,0x80000001,(signed int)(x-y)==0x80000001?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"-",0x7fffffff,0x80000000,(signed int)(x-y)==0x80000000?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"-",0x0,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x-y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"-",0x1,0xffffffff,(signed int)(x-y)==0xffffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"-",0x2,0xfffffffe,(signed int)(x-y)==0xfffffffe?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"-",0x7ffffffe,0x80000002,(signed int)(x-y)==0x80000002?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"-",0x7fffffff,0x80000001,(signed int)(x-y)==0x80000001?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"-",0x1,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"-",0x2,0xffffffff,(signed int)(x-y)==0xffffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"-",0x7ffffffe,0x80000003,(signed int)(x-y)==0x80000003?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"-",0x7fffffff,0x80000002,(signed int)(x-y)==0x80000002?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"-",0x2,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)-2147483644) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"-",0x7ffffffe,0x80000004,(signed int)(x-y)==0x80000004?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"-",0x7fffffff,0x80000003,(signed int)(x-y)==0x80000003?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"-",0x7ffffffe,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"-",0x7fffffff,0xffffffff,(signed int)(x-y)==0xffffffff?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x-y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"-",0x7fffffff,0x0,(signed int)(x-y)==0x0?"PASS":"FAIL",(signed int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x80000000,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x^y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x80000001,0x1,(signed int)(x^y)==0x1?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x^y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0xfffffffe,0x7ffffffe,(signed int)(x^y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x^y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0xffffffff,0x7fffffff,(signed int)(x^y)==0x7fffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x^y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x0,0x80000000,(signed int)(x^y)==0x80000000?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x^y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x1,0x80000001,(signed int)(x^y)==0x80000001?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x2,0x80000002,(signed int)(x^y)==0x80000002?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x7ffffffe,0xfffffffe,(signed int)(x^y)==0xfffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"^",0x7fffffff,0xffffffff,(signed int)(x^y)==0xffffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0x80000001,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x^y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0xfffffffe,0x7fffffff,(signed int)(x^y)==0x7fffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x^y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0xffffffff,0x7ffffffe,(signed int)(x^y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x^y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0x0,0x80000001,(signed int)(x^y)==0x80000001?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x^y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0x1,0x80000000,(signed int)(x^y)==0x80000000?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0x2,0x80000003,(signed int)(x^y)==0x80000003?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0x7ffffffe,0xffffffff,(signed int)(x^y)==0xffffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"^",0x7fffffff,0xfffffffe,(signed int)(x^y)==0xfffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0xfffffffe,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x^y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0xffffffff,0x1,(signed int)(x^y)==0x1?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x^y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0x0,0xfffffffe,(signed int)(x^y)==0xfffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x^y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0x1,0xffffffff,(signed int)(x^y)==0xffffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0x2,0xfffffffc,(signed int)(x^y)==0xfffffffc?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0x7ffffffe,0x80000000,(signed int)(x^y)==0x80000000?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"^",0x7fffffff,0x80000001,(signed int)(x^y)==0x80000001?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"^",0xffffffff,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x^y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"^",0x0,0xffffffff,(signed int)(x^y)==0xffffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x^y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"^",0x1,0xfffffffe,(signed int)(x^y)==0xfffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"^",0x2,0xfffffffd,(signed int)(x^y)==0xfffffffd?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"^",0x7ffffffe,0x80000001,(signed int)(x^y)==0x80000001?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"^",0x7fffffff,0x80000000,(signed int)(x^y)==0x80000000?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"^",0x0,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x^y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"^",0x1,0x1,(signed int)(x^y)==0x1?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"^",0x2,0x2,(signed int)(x^y)==0x2?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"^",0x7ffffffe,0x7ffffffe,(signed int)(x^y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"^",0x7fffffff,0x7fffffff,(signed int)(x^y)==0x7fffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"^",0x1,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"^",0x2,0x3,(signed int)(x^y)==0x3?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"^",0x7ffffffe,0x7fffffff,(signed int)(x^y)==0x7fffffff?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"^",0x7fffffff,0x7ffffffe,(signed int)(x^y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"^",0x2,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)2147483644) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"^",0x7ffffffe,0x7ffffffc,(signed int)(x^y)==0x7ffffffc?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"^",0x7fffffff,0x7ffffffd,(signed int)(x^y)==0x7ffffffd?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"^",0x7ffffffe,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"^",0x7fffffff,0x1,(signed int)(x^y)==0x1?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x^y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"^",0x7fffffff,0x0,(signed int)(x^y)==0x0?"PASS":"FAIL",(signed int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x&y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x80000000,0x80000000,(signed int)(x&y)==0x80000000?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x&y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x80000001,0x80000000,(signed int)(x&y)==0x80000000?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x&y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0xfffffffe,0x80000000,(signed int)(x&y)==0x80000000?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x&y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0xffffffff,0x80000000,(signed int)(x&y)==0x80000000?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x0,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x1,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x2,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x7ffffffe,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&",0x7fffffff,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x&y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0x80000001,0x80000001,(signed int)(x&y)==0x80000001?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x&y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0xfffffffe,0x80000000,(signed int)(x&y)==0x80000000?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x&y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0xffffffff,0x80000001,(signed int)(x&y)==0x80000001?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0x0,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0x1,0x1,(signed int)(x&y)==0x1?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0x2,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0x7ffffffe,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&",0x7fffffff,0x1,(signed int)(x&y)==0x1?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x&y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0xfffffffe,0xfffffffe,(signed int)(x&y)==0xfffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x&y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0xffffffff,0xfffffffe,(signed int)(x&y)==0xfffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0x0,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0x1,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0x2,0x2,(signed int)(x&y)==0x2?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0x7ffffffe,0x7ffffffe,(signed int)(x&y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&",0x7fffffff,0x7ffffffe,(signed int)(x&y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x&y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&",0xffffffff,0xffffffff,(signed int)(x&y)==0xffffffff?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&",0x0,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&",0x1,0x1,(signed int)(x&y)==0x1?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&",0x2,0x2,(signed int)(x&y)==0x2?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&",0x7ffffffe,0x7ffffffe,(signed int)(x&y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&",0x7fffffff,0x7fffffff,(signed int)(x&y)==0x7fffffff?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&",0x0,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&",0x1,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&",0x2,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&",0x7ffffffe,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&",0x7fffffff,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&",0x1,0x1,(signed int)(x&y)==0x1?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&",0x2,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&",0x7ffffffe,0x0,(signed int)(x&y)==0x0?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&",0x7fffffff,0x1,(signed int)(x&y)==0x1?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x&y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"&",0x2,0x2,(signed int)(x&y)==0x2?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"&",0x7ffffffe,0x2,(signed int)(x&y)==0x2?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"&",0x7fffffff,0x2,(signed int)(x&y)==0x2?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x&y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"&",0x7ffffffe,0x7ffffffe,(signed int)(x&y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"&",0x7fffffff,0x7ffffffe,(signed int)(x&y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x&y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"&",0x7fffffff,0x7fffffff,(signed int)(x&y)==0x7fffffff?"PASS":"FAIL",(signed int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x|y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x80000000,0x80000000,(signed int)(x|y)==0x80000000?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x|y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x80000001,0x80000001,(signed int)(x|y)==0x80000001?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x|y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0xfffffffe,0xfffffffe,(signed int)(x|y)==0xfffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0xffffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x|y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x0,0x80000000,(signed int)(x|y)==0x80000000?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x|y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x1,0x80000001,(signed int)(x|y)==0x80000001?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x2,0x80000002,(signed int)(x|y)==0x80000002?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x7ffffffe,0xfffffffe,(signed int)(x|y)==0xfffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"|",0x7fffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x|y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0x80000001,0x80000001,(signed int)(x|y)==0x80000001?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0xfffffffe,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0xffffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x|y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0x0,0x80000001,(signed int)(x|y)==0x80000001?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x|y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0x1,0x80000001,(signed int)(x|y)==0x80000001?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0x2,0x80000003,(signed int)(x|y)==0x80000003?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0x7ffffffe,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"|",0x7fffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x|y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0xfffffffe,0xfffffffe,(signed int)(x|y)==0xfffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0xffffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x|y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0x0,0xfffffffe,(signed int)(x|y)==0xfffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0x1,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0x2,0xfffffffe,(signed int)(x|y)==0xfffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0x7ffffffe,0xfffffffe,(signed int)(x|y)==0xfffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"|",0x7fffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"|",0xffffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"|",0x0,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"|",0x1,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"|",0x2,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"|",0x7ffffffe,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"|",0x7fffffff,0xffffffff,(signed int)(x|y)==0xffffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x|y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"|",0x0,0x0,(signed int)(x|y)==0x0?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x|y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"|",0x1,0x1,(signed int)(x|y)==0x1?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"|",0x2,0x2,(signed int)(x|y)==0x2?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"|",0x7ffffffe,0x7ffffffe,(signed int)(x|y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"|",0x7fffffff,0x7fffffff,(signed int)(x|y)==0x7fffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x|y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"|",0x1,0x1,(signed int)(x|y)==0x1?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"|",0x2,0x3,(signed int)(x|y)==0x3?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"|",0x7ffffffe,0x7fffffff,(signed int)(x|y)==0x7fffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"|",0x7fffffff,0x7fffffff,(signed int)(x|y)==0x7fffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x|y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"|",0x2,0x2,(signed int)(x|y)==0x2?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"|",0x7ffffffe,0x7ffffffe,(signed int)(x|y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"|",0x7fffffff,0x7fffffff,(signed int)(x|y)==0x7fffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x|y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"|",0x7ffffffe,0x7ffffffe,(signed int)(x|y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"|",0x7fffffff,0x7fffffff,(signed int)(x|y)==0x7fffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x|y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"|",0x7fffffff,0x7fffffff,(signed int)(x|y)==0x7fffffff?"PASS":"FAIL",(signed int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x<<y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<<",0x0,0x80000000,(signed int)(x<<y)==0x80000000?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x<<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<<",0x1,0x0,(signed int)(x<<y)==0x0?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<<",0x2,0x0,(signed int)(x<<y)==0x0?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x<<y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<<",0x0,0x80000001,(signed int)(x<<y)==0x80000001?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x<<y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<<",0x1,0x2,(signed int)(x<<y)==0x2?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<<",0x2,0x4,(signed int)(x<<y)==0x4?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x<<y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<<",0x0,0xfffffffe,(signed int)(x<<y)==0xfffffffe?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x<<y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<<",0x1,0xfffffffc,(signed int)(x<<y)==0xfffffffc?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)-8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<<",0x2,0xfffffff8,(signed int)(x<<y)==0xfffffff8?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x<<y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<<",0x0,0xffffffff,(signed int)(x<<y)==0xffffffff?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x<<y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<<",0x1,0xfffffffe,(signed int)(x<<y)==0xfffffffe?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<<",0x2,0xfffffffc,(signed int)(x<<y)==0xfffffffc?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x<<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<<",0x0,0x0,(signed int)(x<<y)==0x0?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x<<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<<",0x1,0x0,(signed int)(x<<y)==0x0?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<<",0x2,0x0,(signed int)(x<<y)==0x0?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x<<y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<<",0x1,0x2,(signed int)(x<<y)==0x2?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<<",0x2,0x4,(signed int)(x<<y)==0x4?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x<<y)!=(signed int)8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<<",0x2,0x8,(signed int)(x<<y)==0x8?"PASS":"FAIL",(signed int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x>>y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">>",0x0,0x80000000,(signed int)(x>>y)==0x80000000?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x>>y)!=(signed int)-1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">>",0x1,0xc0000000,(signed int)(x>>y)==0xc0000000?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)-536870912) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">>",0x2,0xe0000000,(signed int)(x>>y)==0xe0000000?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x>>y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">>",0x0,0x80000001,(signed int)(x>>y)==0x80000001?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x>>y)!=(signed int)-1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">>",0x1,0xc0000000,(signed int)(x>>y)==0xc0000000?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)-536870912) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">>",0x2,0xe0000000,(signed int)(x>>y)==0xe0000000?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x>>y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">>",0x0,0xfffffffe,(signed int)(x>>y)==0xfffffffe?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x>>y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">>",0x1,0xffffffff,(signed int)(x>>y)==0xffffffff?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">>",0x2,0xffffffff,(signed int)(x>>y)==0xffffffff?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x>>y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">>",0x0,0xffffffff,(signed int)(x>>y)==0xffffffff?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x>>y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">>",0x1,0xffffffff,(signed int)(x>>y)==0xffffffff?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">>",0x2,0xffffffff,(signed int)(x>>y)==0xffffffff?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x>>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">>",0x0,0x0,(signed int)(x>>y)==0x0?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x>>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">>",0x1,0x0,(signed int)(x>>y)==0x0?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">>",0x2,0x0,(signed int)(x>>y)==0x0?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x>>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">>",0x1,0x0,(signed int)(x>>y)==0x0?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">>",0x2,0x0,(signed int)(x>>y)==0x0?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x>>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">>",0x2,0x0,(signed int)(x>>y)==0x0?"PASS":"FAIL",(signed int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x80000000,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x80000001,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0xfffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0xffffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x0,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x1,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x2,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0x80000001,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0xfffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0xffffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0x0,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0x1,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0x2,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0xfffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0xffffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0x0,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0x1,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0x2,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&&",0xffffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&&",0x0,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&&",0x1,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&&",0x2,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&&",0x0,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&&",0x1,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&&",0x2,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&&",0x7ffffffe,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"&&",0x7fffffff,0x0,(signed int)(x&&y)==0x0?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&&",0x1,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&&",0x2,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"&&",0x2,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"&&",0x7ffffffe,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x&&y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"&&",0x7fffffff,0x1,(signed int)(x&&y)==0x1?"PASS":"FAIL",(signed int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x80000000,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x80000001,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0xfffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0xffffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x0,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x1,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0x80000001,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0xfffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0xffffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0x0,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0x1,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0xfffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0xffffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0x0,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0x1,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"||",0xffffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"||",0x0,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"||",0x1,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x||y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"||",0x0,0x0,(signed int)(x||y)==0x0?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"||",0x1,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"||",0x1,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"||",0x2,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"||",0x7ffffffe,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x||y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"||",0x7fffffff,0x1,(signed int)(x||y)==0x1?"PASS":"FAIL",(signed int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x80000000,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x80000001,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0xfffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0xffffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x0,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x1,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0x80000001,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0xfffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0xffffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0x0,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0x1,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0xfffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0xffffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0x0,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0x1,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">",0xffffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">",0x0,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">",0x1,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">",0x0,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">",0x1,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">",0x1,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">",0x2,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,">",0x7ffffffe,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x>y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,">",0x7fffffff,0x0,(signed int)(x>y)==0x0?"PASS":"FAIL",(signed int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x80000000,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x80000001,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0xfffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0xffffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x0,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x1,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x2,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0x80000001,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0xfffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0xffffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0x0,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0x1,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0x2,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0xfffffffe,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0xffffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0x0,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0x1,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0x2,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<",0xffffffff,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<",0x0,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<",0x1,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<",0x2,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<",0x0,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<",0x1,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<",0x2,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<",0x1,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<",0x2,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<",0x2,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<",0x7ffffffe,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"<",0x7ffffffe,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"<",0x7fffffff,0x1,(signed int)(x<y)==0x1?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x<y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"<",0x7fffffff,0x0,(signed int)(x<y)==0x0?"PASS":"FAIL",(signed int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x80000000,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x80000001,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0xfffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0xffffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x0,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x1,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x2,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0x80000001,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0xfffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0xffffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0x0,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0x1,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0x2,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0xfffffffe,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0xffffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0x0,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0x1,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0x2,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">=",0xffffffff,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">=",0x0,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">=",0x1,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">=",0x2,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">=",0x0,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">=",0x1,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">=",0x2,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">=",0x1,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">=",0x2,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">=",0x2,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">=",0x7ffffffe,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,">=",0x7ffffffe,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,">=",0x7fffffff,0x0,(signed int)(x>=y)==0x0?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x>=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,">=",0x7fffffff,0x1,(signed int)(x>=y)==0x1?"PASS":"FAIL",(signed int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x80000000,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x80000001,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0xfffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0xffffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x0,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x1,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0x80000001,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0xfffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0xffffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0x0,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0x1,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0xfffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0xffffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0x0,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0x1,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<=",0xffffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<=",0x0,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<=",0x1,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<=",0x0,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<=",0x1,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<=",0x1,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<=",0x2,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"<=",0x7ffffffe,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x<=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"<=",0x7fffffff,0x1,(signed int)(x<=y)==0x1?"PASS":"FAIL",(signed int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x80000000,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x80000001,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0xfffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0xffffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x0,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x1,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x2,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0x80000001,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0xfffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0xffffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0x0,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0x1,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0x2,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0xfffffffe,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0xffffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0x0,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0x1,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0x2,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"==",0xffffffff,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"==",0x0,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"==",0x1,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"==",0x2,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"==",0x0,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"==",0x1,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"==",0x2,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"==",0x1,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"==",0x2,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"==",0x2,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"==",0x7ffffffe,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"==",0x7ffffffe,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"==",0x7fffffff,0x0,(signed int)(x==y)==0x0?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x==y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"==",0x7fffffff,0x1,(signed int)(x==y)==0x1?"PASS":"FAIL",(signed int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x80000000,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x80000001,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0xfffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0xffffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x0,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x1,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x2,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0x80000001,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0xfffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0xffffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0x0,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0x1,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0x2,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0xfffffffe,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0xffffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0x0,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0x1,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0x2,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"!=",0xffffffff,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"!=",0x0,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"!=",0x1,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"!=",0x2,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"!=",0x0,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"!=",0x1,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"!=",0x2,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"!=",0x1,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"!=",0x2,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"!=",0x2,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"!=",0x7ffffffe,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"!=",0x7ffffffe,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"!=",0x7fffffff,0x1,(signed int)(x!=y)==0x1?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x!=y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"!=",0x7fffffff,0x0,(signed int)(x!=y)==0x0?"PASS":"FAIL",(signed int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x80000000,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x*y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x80000001,0x80000000,(signed int)(x*y)==0x80000000?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0xfffffffe,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-1;
|
|
if ((signed int)(x*y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0xffffffff,0x80000000,(signed int)(x*y)==0x80000000?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=0;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x0,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x*y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x1,0x80000000,(signed int)(x*y)==0x80000000?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x2,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x7ffffffe,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"*",0x7fffffff,0x80000000,(signed int)(x*y)==0x80000000?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x*y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0x80000001,0x1,(signed int)(x*y)==0x1?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x*y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0xfffffffe,0xfffffffe,(signed int)(x*y)==0xfffffffe?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x*y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0xffffffff,0x7fffffff,(signed int)(x*y)==0x7fffffff?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=0;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0x0,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x*y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0x1,0x80000001,(signed int)(x*y)==0x80000001?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0x2,0x2,(signed int)(x*y)==0x2?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0x7ffffffe,0x7ffffffe,(signed int)(x*y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"*",0x7fffffff,0xffffffff,(signed int)(x*y)==0xffffffff?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x*y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0xfffffffe,0x4,(signed int)(x*y)==0x4?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x*y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0xffffffff,0x2,(signed int)(x*y)==0x2?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=0;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0x0,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x*y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0x1,0xfffffffe,(signed int)(x*y)==0xfffffffe?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0x2,0xfffffffc,(signed int)(x*y)==0xfffffffc?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0x7ffffffe,0x4,(signed int)(x*y)==0x4?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"*",0x7fffffff,0x2,(signed int)(x*y)==0x2?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x*y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"*",0xffffffff,0x1,(signed int)(x*y)==0x1?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=0;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"*",0x0,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x*y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"*",0x1,0xffffffff,(signed int)(x*y)==0xffffffff?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"*",0x2,0xfffffffe,(signed int)(x*y)==0xfffffffe?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"*",0x7ffffffe,0x80000002,(signed int)(x*y)==0x80000002?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"*",0x7fffffff,0x80000001,(signed int)(x*y)==0x80000001?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=0;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"*",0x0,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"*",0x1,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"*",0x2,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"*",0x7ffffffe,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"*",0x7fffffff,0x0,(signed int)(x*y)==0x0?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x*y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"*",0x1,0x1,(signed int)(x*y)==0x1?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"*",0x2,0x2,(signed int)(x*y)==0x2?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"*",0x7ffffffe,0x7ffffffe,(signed int)(x*y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"*",0x7fffffff,0x7fffffff,(signed int)(x*y)==0x7fffffff?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x*y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"*",0x2,0x4,(signed int)(x*y)==0x4?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"*",0x7ffffffe,0xfffffffc,(signed int)(x*y)==0xfffffffc?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"*",0x7fffffff,0xfffffffe,(signed int)(x*y)==0xfffffffe?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x*y)!=(signed int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"*",0x7ffffffe,0x4,(signed int)(x*y)==0x4?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"*",0x7fffffff,0x80000002,(signed int)(x*y)==0x80000002?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x*y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"*",0x7fffffff,0x1,(signed int)(x*y)==0x1?"PASS":"FAIL",(signed int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0x80000000,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0x80000001,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x/y)!=(signed int)1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0xfffffffe,0x40000000,(signed int)(x/y)==0x40000000?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x/y)!=(signed int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0x1,0x80000000,(signed int)(x/y)==0x80000000?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)-1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0x2,0xc0000000,(signed int)(x/y)==0xc0000000?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0x7ffffffe,0xffffffff,(signed int)(x/y)==0xffffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"/",0x7fffffff,0xffffffff,(signed int)(x/y)==0xffffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0x80000001,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x/y)!=(signed int)1073741823) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0xfffffffe,0x3fffffff,(signed int)(x/y)==0x3fffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x/y)!=(signed int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0xffffffff,0x7fffffff,(signed int)(x/y)==0x7fffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x/y)!=(signed int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0x1,0x80000001,(signed int)(x/y)==0x80000001?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)-1073741823) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0x2,0xc0000001,(signed int)(x/y)==0xc0000001?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0x7ffffffe,0xffffffff,(signed int)(x/y)==0xffffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"/",0x7fffffff,0xffffffff,(signed int)(x/y)==0xffffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"/",0xfffffffe,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x/y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"/",0xffffffff,0x2,(signed int)(x/y)==0x2?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x/y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"/",0x1,0xfffffffe,(signed int)(x/y)==0xfffffffe?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"/",0x2,0xffffffff,(signed int)(x/y)==0xffffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"/",0x7ffffffe,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"/",0x7fffffff,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"/",0xffffffff,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x/y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"/",0x1,0xffffffff,(signed int)(x/y)==0xffffffff?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"/",0x2,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"/",0x7ffffffe,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"/",0x7fffffff,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"/",0x1,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"/",0x2,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"/",0x7ffffffe,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"/",0x7fffffff,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"/",0x1,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"/",0x2,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"/",0x7ffffffe,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"/",0x7fffffff,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"/",0x2,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"/",0x7ffffffe,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"/",0x7fffffff,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"/",0x7ffffffe,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"/",0x7fffffff,0x0,(signed int)(x/y)==0x0?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x/y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"/",0x7fffffff,0x1,(signed int)(x/y)==0x1?"PASS":"FAIL",(signed int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483648;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0x80000000,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2147483647;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0x80000001,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=-2;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0xfffffffe,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0x1,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0x2,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0x7ffffffe,0xfffffffe,(signed int)(x%y)==0xfffffffe?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483648; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000000,"%",0x7fffffff,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2147483647;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0x80000001,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-2;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0xfffffffe,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=-1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0xffffffff,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0x1,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0x2,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0x7ffffffe,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x80000001,"%",0x7fffffff,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-2;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"%",0xfffffffe,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=-1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"%",0xffffffff,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"%",0x1,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"%",0x2,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"%",0x7ffffffe,0xfffffffe,(signed int)(x%y)==0xfffffffe?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-2; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xfffffffe,"%",0x7fffffff,0xfffffffe,(signed int)(x%y)==0xfffffffe?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=-1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"%",0xffffffff,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"%",0x1,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"%",0x2,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"%",0x7ffffffe,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=-1; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0xffffffff,"%",0x7fffffff,0xffffffff,(signed int)(x%y)==0xffffffff?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"%",0x1,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"%",0x2,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"%",0x7ffffffe,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=0; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x0,"%",0x7fffffff,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=1;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"%",0x1,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"%",0x2,0x1,(signed int)(x%y)==0x1?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"%",0x7ffffffe,0x1,(signed int)(x%y)==0x1?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=1; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x1,"%",0x7fffffff,0x1,(signed int)(x%y)==0x1?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"%",0x2,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"%",0x7ffffffe,0x2,(signed int)(x%y)==0x2?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x2,"%",0x7fffffff,0x2,(signed int)(x%y)==0x2?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483646;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"%",0x7ffffffe,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483646; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7ffffffe,"%",0x7fffffff,0x7ffffffe,(signed int)(x%y)==0x7ffffffe?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed int x=2147483647; volatile signed int y=2147483647;
|
|
if ((signed int)(x%y)!=(signed int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed int",0x7fffffff,"%",0x7fffffff,0x0,(signed int)(x%y)==0x0?"PASS":"FAIL",(signed int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x+y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0xffff8000,0x0,(signed short)(x+y)==0x0?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x+y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0xffff8001,0x1,(signed short)(x+y)==0x1?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x+y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0xfffffffe,0x7ffe,(signed short)(x+y)==0x7ffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x+y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0xffffffff,0x7fff,(signed short)(x+y)==0x7fff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x+y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0x0,0xffff8000,(signed short)(x+y)==0xffff8000?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x+y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0x1,0xffff8001,(signed short)(x+y)==0xffff8001?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0x2,0xffff8002,(signed short)(x+y)==0xffff8002?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0x7ffe,0xfffffffe,(signed short)(x+y)==0xfffffffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"+",0x7fff,0xffffffff,(signed short)(x+y)==0xffffffff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x+y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0xffff8001,0x2,(signed short)(x+y)==0x2?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x+y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0xfffffffe,0x7fff,(signed short)(x+y)==0x7fff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x+y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0xffffffff,0xffff8000,(signed short)(x+y)==0xffff8000?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x+y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0x0,0xffff8001,(signed short)(x+y)==0xffff8001?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x+y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0x1,0xffff8002,(signed short)(x+y)==0xffff8002?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)-32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0x2,0xffff8003,(signed short)(x+y)==0xffff8003?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0x7ffe,0xffffffff,(signed short)(x+y)==0xffffffff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"+",0x7fff,0x0,(signed short)(x+y)==0x0?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x+y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0xfffffffe,0xfffffffc,(signed short)(x+y)==0xfffffffc?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x+y)!=(signed short)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0xffffffff,0xfffffffd,(signed short)(x+y)==0xfffffffd?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x+y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0x0,0xfffffffe,(signed short)(x+y)==0xfffffffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x+y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0x1,0xffffffff,(signed short)(x+y)==0xffffffff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0x2,0x0,(signed short)(x+y)==0x0?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)32764) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0x7ffe,0x7ffc,(signed short)(x+y)==0x7ffc?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"+",0x7fff,0x7ffd,(signed short)(x+y)==0x7ffd?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x+y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"+",0xffffffff,0xfffffffe,(signed short)(x+y)==0xfffffffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x+y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"+",0x0,0xffffffff,(signed short)(x+y)==0xffffffff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x+y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"+",0x1,0x0,(signed short)(x+y)==0x0?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"+",0x2,0x1,(signed short)(x+y)==0x1?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"+",0x7ffe,0x7ffd,(signed short)(x+y)==0x7ffd?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"+",0x7fff,0x7ffe,(signed short)(x+y)==0x7ffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x+y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"+",0x0,0x0,(signed short)(x+y)==0x0?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x+y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"+",0x1,0x1,(signed short)(x+y)==0x1?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"+",0x2,0x2,(signed short)(x+y)==0x2?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"+",0x7ffe,0x7ffe,(signed short)(x+y)==0x7ffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"+",0x7fff,0x7fff,(signed short)(x+y)==0x7fff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x+y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"+",0x1,0x2,(signed short)(x+y)==0x2?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"+",0x2,0x3,(signed short)(x+y)==0x3?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"+",0x7ffe,0x7fff,(signed short)(x+y)==0x7fff?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"+",0x7fff,0xffff8000,(signed short)(x+y)==0xffff8000?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x+y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"+",0x2,0x4,(signed short)(x+y)==0x4?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"+",0x7ffe,0xffff8000,(signed short)(x+y)==0xffff8000?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"+",0x7fff,0xffff8001,(signed short)(x+y)==0xffff8001?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x+y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"+",0x7ffe,0xfffffffc,(signed short)(x+y)==0xfffffffc?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"+",0x7fff,0xfffffffd,(signed short)(x+y)==0xfffffffd?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x+y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"+",0x7fff,0xfffffffe,(signed short)(x+y)==0xfffffffe?"PASS":"FAIL",(signed short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0xffff8000,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x-y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0xffff8001,0xffffffff,(signed short)(x-y)==0xffffffff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x-y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0xfffffffe,0xffff8002,(signed short)(x-y)==0xffff8002?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x-y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0xffffffff,0xffff8001,(signed short)(x-y)==0xffff8001?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x-y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0x0,0xffff8000,(signed short)(x-y)==0xffff8000?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x-y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0x1,0x7fff,(signed short)(x-y)==0x7fff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0x2,0x7ffe,(signed short)(x-y)==0x7ffe?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0x7ffe,0x2,(signed short)(x-y)==0x2?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"-",0x7fff,0x1,(signed short)(x-y)==0x1?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0xffff8001,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x-y)!=(signed short)-32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0xfffffffe,0xffff8003,(signed short)(x-y)==0xffff8003?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x-y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0xffffffff,0xffff8002,(signed short)(x-y)==0xffff8002?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x-y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0x0,0xffff8001,(signed short)(x-y)==0xffff8001?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x-y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0x1,0xffff8000,(signed short)(x-y)==0xffff8000?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0x2,0x7fff,(signed short)(x-y)==0x7fff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0x7ffe,0x3,(signed short)(x-y)==0x3?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"-",0x7fff,0x2,(signed short)(x-y)==0x2?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0xfffffffe,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x-y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0xffffffff,0xffffffff,(signed short)(x-y)==0xffffffff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x-y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0x0,0xfffffffe,(signed short)(x-y)==0xfffffffe?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x-y)!=(signed short)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0x1,0xfffffffd,(signed short)(x-y)==0xfffffffd?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0x2,0xfffffffc,(signed short)(x-y)==0xfffffffc?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0x7ffe,0xffff8000,(signed short)(x-y)==0xffff8000?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"-",0x7fff,0x7fff,(signed short)(x-y)==0x7fff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"-",0xffffffff,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x-y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"-",0x0,0xffffffff,(signed short)(x-y)==0xffffffff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x-y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"-",0x1,0xfffffffe,(signed short)(x-y)==0xfffffffe?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"-",0x2,0xfffffffd,(signed short)(x-y)==0xfffffffd?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"-",0x7ffe,0xffff8001,(signed short)(x-y)==0xffff8001?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"-",0x7fff,0xffff8000,(signed short)(x-y)==0xffff8000?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"-",0x0,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x-y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"-",0x1,0xffffffff,(signed short)(x-y)==0xffffffff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"-",0x2,0xfffffffe,(signed short)(x-y)==0xfffffffe?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"-",0x7ffe,0xffff8002,(signed short)(x-y)==0xffff8002?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"-",0x7fff,0xffff8001,(signed short)(x-y)==0xffff8001?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"-",0x1,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"-",0x2,0xffffffff,(signed short)(x-y)==0xffffffff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)-32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"-",0x7ffe,0xffff8003,(signed short)(x-y)==0xffff8003?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"-",0x7fff,0xffff8002,(signed short)(x-y)==0xffff8002?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"-",0x2,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)-32764) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"-",0x7ffe,0xffff8004,(signed short)(x-y)==0xffff8004?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)-32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"-",0x7fff,0xffff8003,(signed short)(x-y)==0xffff8003?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"-",0x7ffe,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"-",0x7fff,0xffffffff,(signed short)(x-y)==0xffffffff?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x-y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"-",0x7fff,0x0,(signed short)(x-y)==0x0?"PASS":"FAIL",(signed short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0xffff8000,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x^y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0xffff8001,0x1,(signed short)(x^y)==0x1?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x^y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0xfffffffe,0x7ffe,(signed short)(x^y)==0x7ffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x^y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0xffffffff,0x7fff,(signed short)(x^y)==0x7fff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x^y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0x0,0xffff8000,(signed short)(x^y)==0xffff8000?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x^y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0x1,0xffff8001,(signed short)(x^y)==0xffff8001?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0x2,0xffff8002,(signed short)(x^y)==0xffff8002?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0x7ffe,0xfffffffe,(signed short)(x^y)==0xfffffffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"^",0x7fff,0xffffffff,(signed short)(x^y)==0xffffffff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0xffff8001,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x^y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0xfffffffe,0x7fff,(signed short)(x^y)==0x7fff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x^y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0xffffffff,0x7ffe,(signed short)(x^y)==0x7ffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x^y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0x0,0xffff8001,(signed short)(x^y)==0xffff8001?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x^y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0x1,0xffff8000,(signed short)(x^y)==0xffff8000?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)-32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0x2,0xffff8003,(signed short)(x^y)==0xffff8003?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0x7ffe,0xffffffff,(signed short)(x^y)==0xffffffff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"^",0x7fff,0xfffffffe,(signed short)(x^y)==0xfffffffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0xfffffffe,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x^y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0xffffffff,0x1,(signed short)(x^y)==0x1?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x^y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0x0,0xfffffffe,(signed short)(x^y)==0xfffffffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x^y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0x1,0xffffffff,(signed short)(x^y)==0xffffffff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0x2,0xfffffffc,(signed short)(x^y)==0xfffffffc?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0x7ffe,0xffff8000,(signed short)(x^y)==0xffff8000?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"^",0x7fff,0xffff8001,(signed short)(x^y)==0xffff8001?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"^",0xffffffff,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x^y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"^",0x0,0xffffffff,(signed short)(x^y)==0xffffffff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x^y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"^",0x1,0xfffffffe,(signed short)(x^y)==0xfffffffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"^",0x2,0xfffffffd,(signed short)(x^y)==0xfffffffd?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"^",0x7ffe,0xffff8001,(signed short)(x^y)==0xffff8001?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"^",0x7fff,0xffff8000,(signed short)(x^y)==0xffff8000?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"^",0x0,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x^y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"^",0x1,0x1,(signed short)(x^y)==0x1?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"^",0x2,0x2,(signed short)(x^y)==0x2?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"^",0x7ffe,0x7ffe,(signed short)(x^y)==0x7ffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"^",0x7fff,0x7fff,(signed short)(x^y)==0x7fff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"^",0x1,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"^",0x2,0x3,(signed short)(x^y)==0x3?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"^",0x7ffe,0x7fff,(signed short)(x^y)==0x7fff?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"^",0x7fff,0x7ffe,(signed short)(x^y)==0x7ffe?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"^",0x2,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)32764) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"^",0x7ffe,0x7ffc,(signed short)(x^y)==0x7ffc?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"^",0x7fff,0x7ffd,(signed short)(x^y)==0x7ffd?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"^",0x7ffe,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"^",0x7fff,0x1,(signed short)(x^y)==0x1?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x^y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"^",0x7fff,0x0,(signed short)(x^y)==0x0?"PASS":"FAIL",(signed short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x&y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0xffff8000,0xffff8000,(signed short)(x&y)==0xffff8000?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x&y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0xffff8001,0xffff8000,(signed short)(x&y)==0xffff8000?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x&y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0xfffffffe,0xffff8000,(signed short)(x&y)==0xffff8000?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x&y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0xffffffff,0xffff8000,(signed short)(x&y)==0xffff8000?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0x0,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0x1,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0x2,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0x7ffe,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&",0x7fff,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x&y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0xffff8001,0xffff8001,(signed short)(x&y)==0xffff8001?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x&y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0xfffffffe,0xffff8000,(signed short)(x&y)==0xffff8000?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x&y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0xffffffff,0xffff8001,(signed short)(x&y)==0xffff8001?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0x0,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0x1,0x1,(signed short)(x&y)==0x1?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0x2,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0x7ffe,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&",0x7fff,0x1,(signed short)(x&y)==0x1?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x&y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0xfffffffe,0xfffffffe,(signed short)(x&y)==0xfffffffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x&y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0xffffffff,0xfffffffe,(signed short)(x&y)==0xfffffffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0x0,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0x1,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0x2,0x2,(signed short)(x&y)==0x2?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0x7ffe,0x7ffe,(signed short)(x&y)==0x7ffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&",0x7fff,0x7ffe,(signed short)(x&y)==0x7ffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x&y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&",0xffffffff,0xffffffff,(signed short)(x&y)==0xffffffff?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&",0x0,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&",0x1,0x1,(signed short)(x&y)==0x1?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&",0x2,0x2,(signed short)(x&y)==0x2?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&",0x7ffe,0x7ffe,(signed short)(x&y)==0x7ffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&",0x7fff,0x7fff,(signed short)(x&y)==0x7fff?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&",0x0,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&",0x1,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&",0x2,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&",0x7ffe,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&",0x7fff,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&",0x1,0x1,(signed short)(x&y)==0x1?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&",0x2,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&",0x7ffe,0x0,(signed short)(x&y)==0x0?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&",0x7fff,0x1,(signed short)(x&y)==0x1?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x&y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"&",0x2,0x2,(signed short)(x&y)==0x2?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"&",0x7ffe,0x2,(signed short)(x&y)==0x2?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"&",0x7fff,0x2,(signed short)(x&y)==0x2?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x&y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"&",0x7ffe,0x7ffe,(signed short)(x&y)==0x7ffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"&",0x7fff,0x7ffe,(signed short)(x&y)==0x7ffe?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x&y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"&",0x7fff,0x7fff,(signed short)(x&y)==0x7fff?"PASS":"FAIL",(signed short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x|y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0xffff8000,0xffff8000,(signed short)(x|y)==0xffff8000?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x|y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0xffff8001,0xffff8001,(signed short)(x|y)==0xffff8001?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x|y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0xfffffffe,0xfffffffe,(signed short)(x|y)==0xfffffffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0xffffffff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x|y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0x0,0xffff8000,(signed short)(x|y)==0xffff8000?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x|y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0x1,0xffff8001,(signed short)(x|y)==0xffff8001?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0x2,0xffff8002,(signed short)(x|y)==0xffff8002?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0x7ffe,0xfffffffe,(signed short)(x|y)==0xfffffffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"|",0x7fff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x|y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0xffff8001,0xffff8001,(signed short)(x|y)==0xffff8001?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0xfffffffe,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0xffffffff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x|y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0x0,0xffff8001,(signed short)(x|y)==0xffff8001?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x|y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0x1,0xffff8001,(signed short)(x|y)==0xffff8001?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)-32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0x2,0xffff8003,(signed short)(x|y)==0xffff8003?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0x7ffe,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"|",0x7fff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x|y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0xfffffffe,0xfffffffe,(signed short)(x|y)==0xfffffffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0xffffffff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x|y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0x0,0xfffffffe,(signed short)(x|y)==0xfffffffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0x1,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0x2,0xfffffffe,(signed short)(x|y)==0xfffffffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0x7ffe,0xfffffffe,(signed short)(x|y)==0xfffffffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"|",0x7fff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"|",0xffffffff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"|",0x0,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"|",0x1,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"|",0x2,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"|",0x7ffe,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"|",0x7fff,0xffffffff,(signed short)(x|y)==0xffffffff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x|y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"|",0x0,0x0,(signed short)(x|y)==0x0?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x|y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"|",0x1,0x1,(signed short)(x|y)==0x1?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"|",0x2,0x2,(signed short)(x|y)==0x2?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"|",0x7ffe,0x7ffe,(signed short)(x|y)==0x7ffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"|",0x7fff,0x7fff,(signed short)(x|y)==0x7fff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x|y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"|",0x1,0x1,(signed short)(x|y)==0x1?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"|",0x2,0x3,(signed short)(x|y)==0x3?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"|",0x7ffe,0x7fff,(signed short)(x|y)==0x7fff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"|",0x7fff,0x7fff,(signed short)(x|y)==0x7fff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x|y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"|",0x2,0x2,(signed short)(x|y)==0x2?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"|",0x7ffe,0x7ffe,(signed short)(x|y)==0x7ffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"|",0x7fff,0x7fff,(signed short)(x|y)==0x7fff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x|y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"|",0x7ffe,0x7ffe,(signed short)(x|y)==0x7ffe?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"|",0x7fff,0x7fff,(signed short)(x|y)==0x7fff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x|y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"|",0x7fff,0x7fff,(signed short)(x|y)==0x7fff?"PASS":"FAIL",(signed short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x<<y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<<",0x0,0xffff8000,(signed short)(x<<y)==0xffff8000?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x<<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<<",0x1,0x0,(signed short)(x<<y)==0x0?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<<",0x2,0x0,(signed short)(x<<y)==0x0?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x<<y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<<",0x0,0xffff8001,(signed short)(x<<y)==0xffff8001?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x<<y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<<",0x1,0x2,(signed short)(x<<y)==0x2?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<<",0x2,0x4,(signed short)(x<<y)==0x4?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x<<y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<<",0x0,0xfffffffe,(signed short)(x<<y)==0xfffffffe?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x<<y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<<",0x1,0xfffffffc,(signed short)(x<<y)==0xfffffffc?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)-8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<<",0x2,0xfffffff8,(signed short)(x<<y)==0xfffffff8?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x<<y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<<",0x0,0xffffffff,(signed short)(x<<y)==0xffffffff?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x<<y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<<",0x1,0xfffffffe,(signed short)(x<<y)==0xfffffffe?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<<",0x2,0xfffffffc,(signed short)(x<<y)==0xfffffffc?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x<<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<<",0x0,0x0,(signed short)(x<<y)==0x0?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x<<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<<",0x1,0x0,(signed short)(x<<y)==0x0?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<<",0x2,0x0,(signed short)(x<<y)==0x0?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x<<y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<<",0x1,0x2,(signed short)(x<<y)==0x2?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<<",0x2,0x4,(signed short)(x<<y)==0x4?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x<<y)!=(signed short)8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<<",0x2,0x8,(signed short)(x<<y)==0x8?"PASS":"FAIL",(signed short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x>>y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">>",0x0,0xffff8000,(signed short)(x>>y)==0xffff8000?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x>>y)!=(signed short)-16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">>",0x1,0xffffc000,(signed short)(x>>y)==0xffffc000?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)-8192) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">>",0x2,0xffffe000,(signed short)(x>>y)==0xffffe000?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x>>y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">>",0x0,0xffff8001,(signed short)(x>>y)==0xffff8001?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x>>y)!=(signed short)-16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">>",0x1,0xffffc000,(signed short)(x>>y)==0xffffc000?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)-8192) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">>",0x2,0xffffe000,(signed short)(x>>y)==0xffffe000?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x>>y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">>",0x0,0xfffffffe,(signed short)(x>>y)==0xfffffffe?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x>>y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">>",0x1,0xffffffff,(signed short)(x>>y)==0xffffffff?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">>",0x2,0xffffffff,(signed short)(x>>y)==0xffffffff?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x>>y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">>",0x0,0xffffffff,(signed short)(x>>y)==0xffffffff?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x>>y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">>",0x1,0xffffffff,(signed short)(x>>y)==0xffffffff?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">>",0x2,0xffffffff,(signed short)(x>>y)==0xffffffff?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x>>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">>",0x0,0x0,(signed short)(x>>y)==0x0?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x>>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">>",0x1,0x0,(signed short)(x>>y)==0x0?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">>",0x2,0x0,(signed short)(x>>y)==0x0?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x>>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">>",0x1,0x0,(signed short)(x>>y)==0x0?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">>",0x2,0x0,(signed short)(x>>y)==0x0?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x>>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">>",0x2,0x0,(signed short)(x>>y)==0x0?"PASS":"FAIL",(signed short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0xffff8000,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0xffff8001,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0xfffffffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0xffffffff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0x0,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0x1,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0x2,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0xffff8001,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0xfffffffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0xffffffff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0x0,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0x1,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0x2,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0xfffffffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0xffffffff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0x0,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0x1,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0x2,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&&",0xffffffff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&&",0x0,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&&",0x1,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&&",0x2,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&&",0x0,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&&",0x1,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&&",0x2,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&&",0x7ffe,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"&&",0x7fff,0x0,(signed short)(x&&y)==0x0?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&&",0x1,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&&",0x2,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"&&",0x2,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"&&",0x7ffe,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x&&y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"&&",0x7fff,0x1,(signed short)(x&&y)==0x1?"PASS":"FAIL",(signed short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0xffff8000,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0xffff8001,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0xfffffffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0xffffffff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0x0,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0x1,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0xffff8001,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0xfffffffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0xffffffff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0x0,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0x1,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0xfffffffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0xffffffff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0x0,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0x1,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"||",0xffffffff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"||",0x0,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"||",0x1,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x||y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"||",0x0,0x0,(signed short)(x||y)==0x0?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"||",0x1,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"||",0x1,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"||",0x2,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"||",0x7ffe,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x||y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"||",0x7fff,0x1,(signed short)(x||y)==0x1?"PASS":"FAIL",(signed short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0xffff8000,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0xffff8001,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0xfffffffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0xffffffff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0x0,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0x1,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0xffff8001,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0xfffffffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0xffffffff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0x0,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0x1,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0xfffffffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0xffffffff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0x0,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0x1,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">",0xffffffff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">",0x0,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">",0x1,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">",0x0,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">",0x1,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">",0x1,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">",0x2,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,">",0x7ffe,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x>y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,">",0x7fff,0x0,(signed short)(x>y)==0x0?"PASS":"FAIL",(signed short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0xffff8000,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0xffff8001,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0xfffffffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0xffffffff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0x0,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0x1,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0x2,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0xffff8001,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0xfffffffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0xffffffff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0x0,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0x1,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0x2,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0xfffffffe,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0xffffffff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0x0,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0x1,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0x2,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<",0xffffffff,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<",0x0,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<",0x1,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<",0x2,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<",0x0,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<",0x1,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<",0x2,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<",0x1,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<",0x2,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<",0x2,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<",0x7ffe,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"<",0x7ffe,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"<",0x7fff,0x1,(signed short)(x<y)==0x1?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x<y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"<",0x7fff,0x0,(signed short)(x<y)==0x0?"PASS":"FAIL",(signed short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0xffff8000,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0xffff8001,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0xfffffffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0xffffffff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0x0,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0x1,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0x2,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0xffff8001,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0xfffffffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0xffffffff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0x0,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0x1,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0x2,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0xfffffffe,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0xffffffff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0x0,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0x1,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0x2,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">=",0xffffffff,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">=",0x0,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">=",0x1,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">=",0x2,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">=",0x0,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">=",0x1,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">=",0x2,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">=",0x1,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">=",0x2,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">=",0x2,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">=",0x7ffe,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,">=",0x7ffe,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,">=",0x7fff,0x0,(signed short)(x>=y)==0x0?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x>=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,">=",0x7fff,0x1,(signed short)(x>=y)==0x1?"PASS":"FAIL",(signed short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0xffff8000,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0xffff8001,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0xfffffffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0xffffffff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0x0,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0x1,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0xffff8001,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0xfffffffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0xffffffff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0x0,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0x1,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0xfffffffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0xffffffff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0x0,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0x1,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<=",0xffffffff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<=",0x0,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<=",0x1,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<=",0x0,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<=",0x1,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<=",0x1,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<=",0x2,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"<=",0x7ffe,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x<=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"<=",0x7fff,0x1,(signed short)(x<=y)==0x1?"PASS":"FAIL",(signed short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0xffff8000,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0xffff8001,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0xfffffffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0xffffffff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0x0,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0x1,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0x2,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0xffff8001,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0xfffffffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0xffffffff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0x0,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0x1,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0x2,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0xfffffffe,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0xffffffff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0x0,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0x1,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0x2,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"==",0xffffffff,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"==",0x0,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"==",0x1,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"==",0x2,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"==",0x0,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"==",0x1,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"==",0x2,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"==",0x1,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"==",0x2,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"==",0x2,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"==",0x7ffe,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"==",0x7ffe,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"==",0x7fff,0x0,(signed short)(x==y)==0x0?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x==y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"==",0x7fff,0x1,(signed short)(x==y)==0x1?"PASS":"FAIL",(signed short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0xffff8000,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0xffff8001,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0xfffffffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0xffffffff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0x0,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0x1,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0x2,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0xffff8001,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0xfffffffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0xffffffff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0x0,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0x1,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0x2,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0xfffffffe,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0xffffffff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0x0,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0x1,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0x2,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"!=",0xffffffff,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"!=",0x0,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"!=",0x1,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"!=",0x2,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"!=",0x0,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"!=",0x1,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"!=",0x2,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"!=",0x1,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"!=",0x2,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"!=",0x2,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"!=",0x7ffe,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"!=",0x7ffe,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"!=",0x7fff,0x1,(signed short)(x!=y)==0x1?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x!=y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"!=",0x7fff,0x0,(signed short)(x!=y)==0x0?"PASS":"FAIL",(signed short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0xffff8000,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x*y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0xffff8001,0xffff8000,(signed short)(x*y)==0xffff8000?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0xfffffffe,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x*y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0xffffffff,0xffff8000,(signed short)(x*y)==0xffff8000?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=0;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0x0,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x*y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0x1,0xffff8000,(signed short)(x*y)==0xffff8000?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0x2,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0x7ffe,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"*",0x7fff,0xffff8000,(signed short)(x*y)==0xffff8000?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x*y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0xffff8001,0x1,(signed short)(x*y)==0x1?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x*y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0xfffffffe,0xfffffffe,(signed short)(x*y)==0xfffffffe?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x*y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0xffffffff,0x7fff,(signed short)(x*y)==0x7fff?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=0;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0x0,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x*y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0x1,0xffff8001,(signed short)(x*y)==0xffff8001?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0x2,0x2,(signed short)(x*y)==0x2?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0x7ffe,0x7ffe,(signed short)(x*y)==0x7ffe?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"*",0x7fff,0xffffffff,(signed short)(x*y)==0xffffffff?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x*y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0xfffffffe,0x4,(signed short)(x*y)==0x4?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x*y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0xffffffff,0x2,(signed short)(x*y)==0x2?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=0;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0x0,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x*y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0x1,0xfffffffe,(signed short)(x*y)==0xfffffffe?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0x2,0xfffffffc,(signed short)(x*y)==0xfffffffc?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0x7ffe,0x4,(signed short)(x*y)==0x4?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"*",0x7fff,0x2,(signed short)(x*y)==0x2?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x*y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"*",0xffffffff,0x1,(signed short)(x*y)==0x1?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=0;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"*",0x0,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x*y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"*",0x1,0xffffffff,(signed short)(x*y)==0xffffffff?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"*",0x2,0xfffffffe,(signed short)(x*y)==0xfffffffe?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"*",0x7ffe,0xffff8002,(signed short)(x*y)==0xffff8002?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"*",0x7fff,0xffff8001,(signed short)(x*y)==0xffff8001?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=0;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"*",0x0,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"*",0x1,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"*",0x2,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"*",0x7ffe,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"*",0x7fff,0x0,(signed short)(x*y)==0x0?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x*y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"*",0x1,0x1,(signed short)(x*y)==0x1?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"*",0x2,0x2,(signed short)(x*y)==0x2?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"*",0x7ffe,0x7ffe,(signed short)(x*y)==0x7ffe?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"*",0x7fff,0x7fff,(signed short)(x*y)==0x7fff?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x*y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"*",0x2,0x4,(signed short)(x*y)==0x4?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"*",0x7ffe,0xfffffffc,(signed short)(x*y)==0xfffffffc?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"*",0x7fff,0xfffffffe,(signed short)(x*y)==0xfffffffe?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x*y)!=(signed short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"*",0x7ffe,0x4,(signed short)(x*y)==0x4?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)-32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"*",0x7fff,0xffff8002,(signed short)(x*y)==0xffff8002?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x*y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"*",0x7fff,0x1,(signed short)(x*y)==0x1?"PASS":"FAIL",(signed short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0xffff8000,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0xffff8001,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x/y)!=(signed short)16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0xfffffffe,0x4000,(signed short)(x/y)==0x4000?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x/y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0xffffffff,0xffff8000,(signed short)(x/y)==0xffff8000?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x/y)!=(signed short)-32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0x1,0xffff8000,(signed short)(x/y)==0xffff8000?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)-16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0x2,0xffffc000,(signed short)(x/y)==0xffffc000?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0x7ffe,0xffffffff,(signed short)(x/y)==0xffffffff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"/",0x7fff,0xffffffff,(signed short)(x/y)==0xffffffff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0xffff8001,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x/y)!=(signed short)16383) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0xfffffffe,0x3fff,(signed short)(x/y)==0x3fff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x/y)!=(signed short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0xffffffff,0x7fff,(signed short)(x/y)==0x7fff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x/y)!=(signed short)-32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0x1,0xffff8001,(signed short)(x/y)==0xffff8001?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)-16383) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0x2,0xffffc001,(signed short)(x/y)==0xffffc001?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0x7ffe,0xffffffff,(signed short)(x/y)==0xffffffff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"/",0x7fff,0xffffffff,(signed short)(x/y)==0xffffffff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"/",0xfffffffe,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x/y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"/",0xffffffff,0x2,(signed short)(x/y)==0x2?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x/y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"/",0x1,0xfffffffe,(signed short)(x/y)==0xfffffffe?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"/",0x2,0xffffffff,(signed short)(x/y)==0xffffffff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"/",0x7ffe,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"/",0x7fff,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"/",0xffffffff,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x/y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"/",0x1,0xffffffff,(signed short)(x/y)==0xffffffff?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"/",0x2,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"/",0x7ffe,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"/",0x7fff,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"/",0x1,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"/",0x2,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"/",0x7ffe,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"/",0x7fff,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"/",0x1,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"/",0x2,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"/",0x7ffe,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"/",0x7fff,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"/",0x2,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"/",0x7ffe,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"/",0x7fff,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"/",0x7ffe,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"/",0x7fff,0x0,(signed short)(x/y)==0x0?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x/y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"/",0x7fff,0x1,(signed short)(x/y)==0x1?"PASS":"FAIL",(signed short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32768;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0xffff8000,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-32767;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0xffff8001,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-2;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0xfffffffe,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=-1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0xffffffff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0x1,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0x2,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0x7ffe,0xfffffffe,(signed short)(x%y)==0xfffffffe?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32768; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8000,"%",0x7fff,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-32767;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0xffff8001,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-2;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0xfffffffe,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=-1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0xffffffff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0x1,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0x2,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0x7ffe,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-32767; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffff8001,"%",0x7fff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-2;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"%",0xfffffffe,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=-1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"%",0xffffffff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"%",0x1,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"%",0x2,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"%",0x7ffe,0xfffffffe,(signed short)(x%y)==0xfffffffe?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-2; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xfffffffe,"%",0x7fff,0xfffffffe,(signed short)(x%y)==0xfffffffe?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=-1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"%",0xffffffff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"%",0x1,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"%",0x2,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"%",0x7ffe,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=-1; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0xffffffff,"%",0x7fff,0xffffffff,(signed short)(x%y)==0xffffffff?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"%",0x1,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"%",0x2,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"%",0x7ffe,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=0; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x0,"%",0x7fff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=1;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"%",0x1,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"%",0x2,0x1,(signed short)(x%y)==0x1?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"%",0x7ffe,0x1,(signed short)(x%y)==0x1?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=1; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x1,"%",0x7fff,0x1,(signed short)(x%y)==0x1?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=2;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"%",0x2,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"%",0x7ffe,0x2,(signed short)(x%y)==0x2?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=2; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x2,"%",0x7fff,0x2,(signed short)(x%y)==0x2?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32766;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"%",0x7ffe,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32766; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7ffe,"%",0x7fff,0x7ffe,(signed short)(x%y)==0x7ffe?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed short x=32767; volatile signed short y=32767;
|
|
if ((signed short)(x%y)!=(signed short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed short",0x7fff,"%",0x7fff,0x0,(signed short)(x%y)==0x0?"PASS":"FAIL",(signed short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x+y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0xffffff80,0x0,(signed char)(x+y)==0x0?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x+y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0xffffff81,0x1,(signed char)(x+y)==0x1?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x+y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0xfffffffe,0x7e,(signed char)(x+y)==0x7e?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x+y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0xffffffff,0x7f,(signed char)(x+y)==0x7f?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x+y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0x0,0xffffff80,(signed char)(x+y)==0xffffff80?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x+y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0x1,0xffffff81,(signed char)(x+y)==0xffffff81?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0x2,0xffffff82,(signed char)(x+y)==0xffffff82?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0x7e,0xfffffffe,(signed char)(x+y)==0xfffffffe?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"+",0x7f,0xffffffff,(signed char)(x+y)==0xffffffff?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x+y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0xffffff81,0x2,(signed char)(x+y)==0x2?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x+y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0xfffffffe,0x7f,(signed char)(x+y)==0x7f?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x+y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0xffffffff,0xffffff80,(signed char)(x+y)==0xffffff80?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x+y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0x0,0xffffff81,(signed char)(x+y)==0xffffff81?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x+y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0x1,0xffffff82,(signed char)(x+y)==0xffffff82?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)-125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0x2,0xffffff83,(signed char)(x+y)==0xffffff83?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0x7e,0xffffffff,(signed char)(x+y)==0xffffffff?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"+",0x7f,0x0,(signed char)(x+y)==0x0?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x+y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0xfffffffe,0xfffffffc,(signed char)(x+y)==0xfffffffc?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x+y)!=(signed char)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0xffffffff,0xfffffffd,(signed char)(x+y)==0xfffffffd?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x+y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0x0,0xfffffffe,(signed char)(x+y)==0xfffffffe?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x+y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0x1,0xffffffff,(signed char)(x+y)==0xffffffff?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0x2,0x0,(signed char)(x+y)==0x0?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)124) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0x7e,0x7c,(signed char)(x+y)==0x7c?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"+",0x7f,0x7d,(signed char)(x+y)==0x7d?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x+y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"+",0xffffffff,0xfffffffe,(signed char)(x+y)==0xfffffffe?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x+y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"+",0x0,0xffffffff,(signed char)(x+y)==0xffffffff?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x+y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"+",0x1,0x0,(signed char)(x+y)==0x0?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"+",0x2,0x1,(signed char)(x+y)==0x1?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"+",0x7e,0x7d,(signed char)(x+y)==0x7d?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"+",0x7f,0x7e,(signed char)(x+y)==0x7e?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x+y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"+",0x0,0x0,(signed char)(x+y)==0x0?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x+y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"+",0x1,0x1,(signed char)(x+y)==0x1?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"+",0x2,0x2,(signed char)(x+y)==0x2?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"+",0x7e,0x7e,(signed char)(x+y)==0x7e?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"+",0x7f,0x7f,(signed char)(x+y)==0x7f?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x+y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"+",0x1,0x2,(signed char)(x+y)==0x2?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"+",0x2,0x3,(signed char)(x+y)==0x3?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"+",0x7e,0x7f,(signed char)(x+y)==0x7f?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"+",0x7f,0xffffff80,(signed char)(x+y)==0xffffff80?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x+y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"+",0x2,0x4,(signed char)(x+y)==0x4?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"+",0x7e,0xffffff80,(signed char)(x+y)==0xffffff80?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"+",0x7f,0xffffff81,(signed char)(x+y)==0xffffff81?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x+y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"+",0x7e,0xfffffffc,(signed char)(x+y)==0xfffffffc?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"+",0x7f,0xfffffffd,(signed char)(x+y)==0xfffffffd?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x+y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"+",0x7f,0xfffffffe,(signed char)(x+y)==0xfffffffe?"PASS":"FAIL",(signed char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0xffffff80,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x-y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0xffffff81,0xffffffff,(signed char)(x-y)==0xffffffff?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x-y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0xfffffffe,0xffffff82,(signed char)(x-y)==0xffffff82?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x-y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0xffffffff,0xffffff81,(signed char)(x-y)==0xffffff81?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x-y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0x0,0xffffff80,(signed char)(x-y)==0xffffff80?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x-y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0x1,0x7f,(signed char)(x-y)==0x7f?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0x2,0x7e,(signed char)(x-y)==0x7e?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0x7e,0x2,(signed char)(x-y)==0x2?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"-",0x7f,0x1,(signed char)(x-y)==0x1?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0xffffff81,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x-y)!=(signed char)-125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0xfffffffe,0xffffff83,(signed char)(x-y)==0xffffff83?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x-y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0xffffffff,0xffffff82,(signed char)(x-y)==0xffffff82?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x-y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0x0,0xffffff81,(signed char)(x-y)==0xffffff81?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x-y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0x1,0xffffff80,(signed char)(x-y)==0xffffff80?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0x2,0x7f,(signed char)(x-y)==0x7f?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0x7e,0x3,(signed char)(x-y)==0x3?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"-",0x7f,0x2,(signed char)(x-y)==0x2?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0xfffffffe,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x-y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0xffffffff,0xffffffff,(signed char)(x-y)==0xffffffff?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x-y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0x0,0xfffffffe,(signed char)(x-y)==0xfffffffe?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x-y)!=(signed char)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0x1,0xfffffffd,(signed char)(x-y)==0xfffffffd?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0x2,0xfffffffc,(signed char)(x-y)==0xfffffffc?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0x7e,0xffffff80,(signed char)(x-y)==0xffffff80?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"-",0x7f,0x7f,(signed char)(x-y)==0x7f?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"-",0xffffffff,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x-y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"-",0x0,0xffffffff,(signed char)(x-y)==0xffffffff?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x-y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"-",0x1,0xfffffffe,(signed char)(x-y)==0xfffffffe?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"-",0x2,0xfffffffd,(signed char)(x-y)==0xfffffffd?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"-",0x7e,0xffffff81,(signed char)(x-y)==0xffffff81?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"-",0x7f,0xffffff80,(signed char)(x-y)==0xffffff80?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"-",0x0,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x-y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"-",0x1,0xffffffff,(signed char)(x-y)==0xffffffff?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"-",0x2,0xfffffffe,(signed char)(x-y)==0xfffffffe?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"-",0x7e,0xffffff82,(signed char)(x-y)==0xffffff82?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"-",0x7f,0xffffff81,(signed char)(x-y)==0xffffff81?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"-",0x1,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"-",0x2,0xffffffff,(signed char)(x-y)==0xffffffff?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)-125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"-",0x7e,0xffffff83,(signed char)(x-y)==0xffffff83?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"-",0x7f,0xffffff82,(signed char)(x-y)==0xffffff82?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"-",0x2,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)-124) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"-",0x7e,0xffffff84,(signed char)(x-y)==0xffffff84?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)-125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"-",0x7f,0xffffff83,(signed char)(x-y)==0xffffff83?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"-",0x7e,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"-",0x7f,0xffffffff,(signed char)(x-y)==0xffffffff?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x-y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"-",0x7f,0x0,(signed char)(x-y)==0x0?"PASS":"FAIL",(signed char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0xffffff80,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x^y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0xffffff81,0x1,(signed char)(x^y)==0x1?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x^y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0xfffffffe,0x7e,(signed char)(x^y)==0x7e?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x^y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0xffffffff,0x7f,(signed char)(x^y)==0x7f?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x^y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0x0,0xffffff80,(signed char)(x^y)==0xffffff80?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x^y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0x1,0xffffff81,(signed char)(x^y)==0xffffff81?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0x2,0xffffff82,(signed char)(x^y)==0xffffff82?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0x7e,0xfffffffe,(signed char)(x^y)==0xfffffffe?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"^",0x7f,0xffffffff,(signed char)(x^y)==0xffffffff?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0xffffff81,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x^y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0xfffffffe,0x7f,(signed char)(x^y)==0x7f?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x^y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0xffffffff,0x7e,(signed char)(x^y)==0x7e?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x^y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0x0,0xffffff81,(signed char)(x^y)==0xffffff81?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x^y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0x1,0xffffff80,(signed char)(x^y)==0xffffff80?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)-125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0x2,0xffffff83,(signed char)(x^y)==0xffffff83?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0x7e,0xffffffff,(signed char)(x^y)==0xffffffff?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"^",0x7f,0xfffffffe,(signed char)(x^y)==0xfffffffe?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0xfffffffe,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x^y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0xffffffff,0x1,(signed char)(x^y)==0x1?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x^y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0x0,0xfffffffe,(signed char)(x^y)==0xfffffffe?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x^y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0x1,0xffffffff,(signed char)(x^y)==0xffffffff?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0x2,0xfffffffc,(signed char)(x^y)==0xfffffffc?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0x7e,0xffffff80,(signed char)(x^y)==0xffffff80?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"^",0x7f,0xffffff81,(signed char)(x^y)==0xffffff81?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"^",0xffffffff,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x^y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"^",0x0,0xffffffff,(signed char)(x^y)==0xffffffff?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x^y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"^",0x1,0xfffffffe,(signed char)(x^y)==0xfffffffe?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"^",0x2,0xfffffffd,(signed char)(x^y)==0xfffffffd?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"^",0x7e,0xffffff81,(signed char)(x^y)==0xffffff81?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"^",0x7f,0xffffff80,(signed char)(x^y)==0xffffff80?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"^",0x0,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x^y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"^",0x1,0x1,(signed char)(x^y)==0x1?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"^",0x2,0x2,(signed char)(x^y)==0x2?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"^",0x7e,0x7e,(signed char)(x^y)==0x7e?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"^",0x7f,0x7f,(signed char)(x^y)==0x7f?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"^",0x1,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"^",0x2,0x3,(signed char)(x^y)==0x3?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"^",0x7e,0x7f,(signed char)(x^y)==0x7f?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"^",0x7f,0x7e,(signed char)(x^y)==0x7e?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"^",0x2,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)124) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"^",0x7e,0x7c,(signed char)(x^y)==0x7c?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"^",0x7f,0x7d,(signed char)(x^y)==0x7d?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"^",0x7e,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"^",0x7f,0x1,(signed char)(x^y)==0x1?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x^y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"^",0x7f,0x0,(signed char)(x^y)==0x0?"PASS":"FAIL",(signed char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x&y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0xffffff80,0xffffff80,(signed char)(x&y)==0xffffff80?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x&y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0xffffff81,0xffffff80,(signed char)(x&y)==0xffffff80?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x&y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0xfffffffe,0xffffff80,(signed char)(x&y)==0xffffff80?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x&y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0xffffffff,0xffffff80,(signed char)(x&y)==0xffffff80?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0x0,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0x1,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0x2,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0x7e,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&",0x7f,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x&y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0xffffff81,0xffffff81,(signed char)(x&y)==0xffffff81?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x&y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0xfffffffe,0xffffff80,(signed char)(x&y)==0xffffff80?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x&y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0xffffffff,0xffffff81,(signed char)(x&y)==0xffffff81?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0x0,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0x1,0x1,(signed char)(x&y)==0x1?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0x2,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0x7e,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&",0x7f,0x1,(signed char)(x&y)==0x1?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x&y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0xfffffffe,0xfffffffe,(signed char)(x&y)==0xfffffffe?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x&y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0xffffffff,0xfffffffe,(signed char)(x&y)==0xfffffffe?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0x0,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0x1,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0x2,0x2,(signed char)(x&y)==0x2?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0x7e,0x7e,(signed char)(x&y)==0x7e?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&",0x7f,0x7e,(signed char)(x&y)==0x7e?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x&y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&",0xffffffff,0xffffffff,(signed char)(x&y)==0xffffffff?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&",0x0,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&",0x1,0x1,(signed char)(x&y)==0x1?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&",0x2,0x2,(signed char)(x&y)==0x2?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&",0x7e,0x7e,(signed char)(x&y)==0x7e?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&",0x7f,0x7f,(signed char)(x&y)==0x7f?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&",0x0,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&",0x1,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&",0x2,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&",0x7e,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&",0x7f,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&",0x1,0x1,(signed char)(x&y)==0x1?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&",0x2,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&",0x7e,0x0,(signed char)(x&y)==0x0?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&",0x7f,0x1,(signed char)(x&y)==0x1?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x&y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"&",0x2,0x2,(signed char)(x&y)==0x2?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"&",0x7e,0x2,(signed char)(x&y)==0x2?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"&",0x7f,0x2,(signed char)(x&y)==0x2?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x&y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"&",0x7e,0x7e,(signed char)(x&y)==0x7e?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"&",0x7f,0x7e,(signed char)(x&y)==0x7e?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x&y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"&",0x7f,0x7f,(signed char)(x&y)==0x7f?"PASS":"FAIL",(signed char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x|y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0xffffff80,0xffffff80,(signed char)(x|y)==0xffffff80?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x|y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0xffffff81,0xffffff81,(signed char)(x|y)==0xffffff81?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x|y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0xfffffffe,0xfffffffe,(signed char)(x|y)==0xfffffffe?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0xffffffff,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x|y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0x0,0xffffff80,(signed char)(x|y)==0xffffff80?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x|y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0x1,0xffffff81,(signed char)(x|y)==0xffffff81?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0x2,0xffffff82,(signed char)(x|y)==0xffffff82?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0x7e,0xfffffffe,(signed char)(x|y)==0xfffffffe?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"|",0x7f,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x|y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0xffffff81,0xffffff81,(signed char)(x|y)==0xffffff81?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0xfffffffe,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0xffffffff,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x|y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0x0,0xffffff81,(signed char)(x|y)==0xffffff81?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x|y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0x1,0xffffff81,(signed char)(x|y)==0xffffff81?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)-125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0x2,0xffffff83,(signed char)(x|y)==0xffffff83?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0x7e,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"|",0x7f,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x|y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0xfffffffe,0xfffffffe,(signed char)(x|y)==0xfffffffe?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0xffffffff,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x|y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0x0,0xfffffffe,(signed char)(x|y)==0xfffffffe?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0x1,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0x2,0xfffffffe,(signed char)(x|y)==0xfffffffe?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0x7e,0xfffffffe,(signed char)(x|y)==0xfffffffe?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"|",0x7f,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"|",0xffffffff,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"|",0x0,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"|",0x1,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"|",0x2,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"|",0x7e,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"|",0x7f,0xffffffff,(signed char)(x|y)==0xffffffff?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x|y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"|",0x0,0x0,(signed char)(x|y)==0x0?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x|y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"|",0x1,0x1,(signed char)(x|y)==0x1?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"|",0x2,0x2,(signed char)(x|y)==0x2?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"|",0x7e,0x7e,(signed char)(x|y)==0x7e?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"|",0x7f,0x7f,(signed char)(x|y)==0x7f?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x|y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"|",0x1,0x1,(signed char)(x|y)==0x1?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"|",0x2,0x3,(signed char)(x|y)==0x3?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"|",0x7e,0x7f,(signed char)(x|y)==0x7f?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"|",0x7f,0x7f,(signed char)(x|y)==0x7f?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x|y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"|",0x2,0x2,(signed char)(x|y)==0x2?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"|",0x7e,0x7e,(signed char)(x|y)==0x7e?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"|",0x7f,0x7f,(signed char)(x|y)==0x7f?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x|y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"|",0x7e,0x7e,(signed char)(x|y)==0x7e?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"|",0x7f,0x7f,(signed char)(x|y)==0x7f?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x|y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"|",0x7f,0x7f,(signed char)(x|y)==0x7f?"PASS":"FAIL",(signed char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x<<y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<<",0x0,0xffffff80,(signed char)(x<<y)==0xffffff80?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x<<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<<",0x1,0x0,(signed char)(x<<y)==0x0?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<<",0x2,0x0,(signed char)(x<<y)==0x0?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x<<y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<<",0x0,0xffffff81,(signed char)(x<<y)==0xffffff81?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x<<y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<<",0x1,0x2,(signed char)(x<<y)==0x2?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<<",0x2,0x4,(signed char)(x<<y)==0x4?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x<<y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<<",0x0,0xfffffffe,(signed char)(x<<y)==0xfffffffe?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x<<y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<<",0x1,0xfffffffc,(signed char)(x<<y)==0xfffffffc?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)-8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<<",0x2,0xfffffff8,(signed char)(x<<y)==0xfffffff8?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x<<y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<<",0x0,0xffffffff,(signed char)(x<<y)==0xffffffff?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x<<y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<<",0x1,0xfffffffe,(signed char)(x<<y)==0xfffffffe?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<<",0x2,0xfffffffc,(signed char)(x<<y)==0xfffffffc?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x<<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<<",0x0,0x0,(signed char)(x<<y)==0x0?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x<<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<<",0x1,0x0,(signed char)(x<<y)==0x0?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<<",0x2,0x0,(signed char)(x<<y)==0x0?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x<<y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<<",0x1,0x2,(signed char)(x<<y)==0x2?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<<",0x2,0x4,(signed char)(x<<y)==0x4?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x<<y)!=(signed char)8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<<",0x2,0x8,(signed char)(x<<y)==0x8?"PASS":"FAIL",(signed char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x>>y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">>",0x0,0xffffff80,(signed char)(x>>y)==0xffffff80?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x>>y)!=(signed char)-64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">>",0x1,0xffffffc0,(signed char)(x>>y)==0xffffffc0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)-32) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">>",0x2,0xffffffe0,(signed char)(x>>y)==0xffffffe0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x>>y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">>",0x0,0xffffff81,(signed char)(x>>y)==0xffffff81?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x>>y)!=(signed char)-64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">>",0x1,0xffffffc0,(signed char)(x>>y)==0xffffffc0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)-32) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">>",0x2,0xffffffe0,(signed char)(x>>y)==0xffffffe0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x>>y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">>",0x0,0xfffffffe,(signed char)(x>>y)==0xfffffffe?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x>>y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">>",0x1,0xffffffff,(signed char)(x>>y)==0xffffffff?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">>",0x2,0xffffffff,(signed char)(x>>y)==0xffffffff?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x>>y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">>",0x0,0xffffffff,(signed char)(x>>y)==0xffffffff?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x>>y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">>",0x1,0xffffffff,(signed char)(x>>y)==0xffffffff?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">>",0x2,0xffffffff,(signed char)(x>>y)==0xffffffff?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x>>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">>",0x0,0x0,(signed char)(x>>y)==0x0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x>>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">>",0x1,0x0,(signed char)(x>>y)==0x0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">>",0x2,0x0,(signed char)(x>>y)==0x0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x>>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">>",0x1,0x0,(signed char)(x>>y)==0x0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">>",0x2,0x0,(signed char)(x>>y)==0x0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x>>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">>",0x2,0x0,(signed char)(x>>y)==0x0?"PASS":"FAIL",(signed char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0xffffff80,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0xffffff81,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0xfffffffe,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0xffffffff,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0x0,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0x1,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0x2,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0xffffff81,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0xfffffffe,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0xffffffff,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0x0,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0x1,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0x2,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0xfffffffe,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0xffffffff,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0x0,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0x1,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0x2,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&&",0xffffffff,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&&",0x0,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&&",0x1,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&&",0x2,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&&",0x0,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&&",0x1,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&&",0x2,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&&",0x7e,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"&&",0x7f,0x0,(signed char)(x&&y)==0x0?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&&",0x1,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&&",0x2,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"&&",0x2,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"&&",0x7e,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x&&y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"&&",0x7f,0x1,(signed char)(x&&y)==0x1?"PASS":"FAIL",(signed char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0xffffff80,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0xffffff81,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0xfffffffe,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0xffffffff,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0x0,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0x1,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0xffffff81,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0xfffffffe,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0xffffffff,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0x0,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0x1,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0xfffffffe,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0xffffffff,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0x0,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0x1,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"||",0xffffffff,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"||",0x0,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"||",0x1,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x||y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"||",0x0,0x0,(signed char)(x||y)==0x0?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"||",0x1,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"||",0x1,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"||",0x2,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"||",0x7e,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x||y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"||",0x7f,0x1,(signed char)(x||y)==0x1?"PASS":"FAIL",(signed char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0xffffff80,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0xffffff81,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0xfffffffe,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0xffffffff,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0x0,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0x1,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0xffffff81,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0xfffffffe,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0xffffffff,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0x0,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0x1,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0xfffffffe,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0xffffffff,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0x0,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0x1,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">",0xffffffff,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">",0x0,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">",0x1,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">",0x0,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">",0x1,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">",0x1,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">",0x2,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,">",0x7e,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x>y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,">",0x7f,0x0,(signed char)(x>y)==0x0?"PASS":"FAIL",(signed char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0xffffff80,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0xffffff81,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0xfffffffe,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0xffffffff,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0x0,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0x1,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0x2,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0xffffff81,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0xfffffffe,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0xffffffff,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0x0,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0x1,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0x2,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0xfffffffe,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0xffffffff,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0x0,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0x1,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0x2,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<",0xffffffff,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<",0x0,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<",0x1,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<",0x2,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<",0x0,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<",0x1,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<",0x2,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<",0x1,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<",0x2,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<",0x2,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<",0x7e,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"<",0x7e,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"<",0x7f,0x1,(signed char)(x<y)==0x1?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x<y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"<",0x7f,0x0,(signed char)(x<y)==0x0?"PASS":"FAIL",(signed char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0xffffff80,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0xffffff81,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0xfffffffe,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0xffffffff,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0x0,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0x1,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0x2,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0xffffff81,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0xfffffffe,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0xffffffff,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0x0,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0x1,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0x2,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0xfffffffe,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0xffffffff,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0x0,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0x1,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0x2,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">=",0xffffffff,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">=",0x0,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">=",0x1,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">=",0x2,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">=",0x0,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">=",0x1,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">=",0x2,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">=",0x1,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">=",0x2,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">=",0x2,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">=",0x7e,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,">=",0x7e,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,">=",0x7f,0x0,(signed char)(x>=y)==0x0?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x>=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,">=",0x7f,0x1,(signed char)(x>=y)==0x1?"PASS":"FAIL",(signed char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0xffffff80,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0xffffff81,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0xfffffffe,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0xffffffff,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0x0,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0x1,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0xffffff81,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0xfffffffe,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0xffffffff,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0x0,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0x1,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0xfffffffe,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0xffffffff,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0x0,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0x1,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<=",0xffffffff,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<=",0x0,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<=",0x1,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<=",0x0,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<=",0x1,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<=",0x1,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<=",0x2,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"<=",0x7e,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x<=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"<=",0x7f,0x1,(signed char)(x<=y)==0x1?"PASS":"FAIL",(signed char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0xffffff80,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0xffffff81,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0xfffffffe,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0xffffffff,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0x0,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0x1,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0x2,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0xffffff81,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0xfffffffe,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0xffffffff,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0x0,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0x1,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0x2,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0xfffffffe,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0xffffffff,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0x0,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0x1,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0x2,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"==",0xffffffff,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"==",0x0,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"==",0x1,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"==",0x2,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"==",0x0,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"==",0x1,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"==",0x2,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"==",0x1,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"==",0x2,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"==",0x2,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"==",0x7e,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"==",0x7e,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"==",0x7f,0x0,(signed char)(x==y)==0x0?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x==y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"==",0x7f,0x1,(signed char)(x==y)==0x1?"PASS":"FAIL",(signed char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0xffffff80,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0xffffff81,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0xfffffffe,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0xffffffff,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0x0,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0x1,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0x2,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0xffffff81,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0xfffffffe,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0xffffffff,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0x0,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0x1,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0x2,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0xfffffffe,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0xffffffff,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0x0,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0x1,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0x2,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"!=",0xffffffff,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"!=",0x0,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"!=",0x1,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"!=",0x2,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"!=",0x0,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"!=",0x1,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"!=",0x2,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"!=",0x1,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"!=",0x2,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"!=",0x2,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"!=",0x7e,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"!=",0x7e,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"!=",0x7f,0x1,(signed char)(x!=y)==0x1?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x!=y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"!=",0x7f,0x0,(signed char)(x!=y)==0x0?"PASS":"FAIL",(signed char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0xffffff80,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x*y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0xffffff81,0xffffff80,(signed char)(x*y)==0xffffff80?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0xfffffffe,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x*y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0xffffffff,0xffffff80,(signed char)(x*y)==0xffffff80?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=0;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0x0,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x*y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0x1,0xffffff80,(signed char)(x*y)==0xffffff80?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0x2,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0x7e,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"*",0x7f,0xffffff80,(signed char)(x*y)==0xffffff80?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x*y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0xffffff81,0x1,(signed char)(x*y)==0x1?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x*y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0xfffffffe,0xfffffffe,(signed char)(x*y)==0xfffffffe?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x*y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0xffffffff,0x7f,(signed char)(x*y)==0x7f?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=0;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0x0,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x*y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0x1,0xffffff81,(signed char)(x*y)==0xffffff81?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0x2,0x2,(signed char)(x*y)==0x2?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0x7e,0x7e,(signed char)(x*y)==0x7e?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"*",0x7f,0xffffffff,(signed char)(x*y)==0xffffffff?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x*y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0xfffffffe,0x4,(signed char)(x*y)==0x4?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x*y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0xffffffff,0x2,(signed char)(x*y)==0x2?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=0;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0x0,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x*y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0x1,0xfffffffe,(signed char)(x*y)==0xfffffffe?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0x2,0xfffffffc,(signed char)(x*y)==0xfffffffc?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0x7e,0x4,(signed char)(x*y)==0x4?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"*",0x7f,0x2,(signed char)(x*y)==0x2?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x*y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"*",0xffffffff,0x1,(signed char)(x*y)==0x1?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=0;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"*",0x0,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x*y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"*",0x1,0xffffffff,(signed char)(x*y)==0xffffffff?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"*",0x2,0xfffffffe,(signed char)(x*y)==0xfffffffe?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"*",0x7e,0xffffff82,(signed char)(x*y)==0xffffff82?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"*",0x7f,0xffffff81,(signed char)(x*y)==0xffffff81?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=0;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"*",0x0,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"*",0x1,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"*",0x2,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"*",0x7e,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"*",0x7f,0x0,(signed char)(x*y)==0x0?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x*y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"*",0x1,0x1,(signed char)(x*y)==0x1?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"*",0x2,0x2,(signed char)(x*y)==0x2?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"*",0x7e,0x7e,(signed char)(x*y)==0x7e?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"*",0x7f,0x7f,(signed char)(x*y)==0x7f?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x*y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"*",0x2,0x4,(signed char)(x*y)==0x4?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"*",0x7e,0xfffffffc,(signed char)(x*y)==0xfffffffc?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"*",0x7f,0xfffffffe,(signed char)(x*y)==0xfffffffe?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x*y)!=(signed char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"*",0x7e,0x4,(signed char)(x*y)==0x4?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)-126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"*",0x7f,0xffffff82,(signed char)(x*y)==0xffffff82?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x*y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"*",0x7f,0x1,(signed char)(x*y)==0x1?"PASS":"FAIL",(signed char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0xffffff80,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0xffffff81,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x/y)!=(signed char)64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0xfffffffe,0x40,(signed char)(x/y)==0x40?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x/y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0xffffffff,0xffffff80,(signed char)(x/y)==0xffffff80?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x/y)!=(signed char)-128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0x1,0xffffff80,(signed char)(x/y)==0xffffff80?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)-64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0x2,0xffffffc0,(signed char)(x/y)==0xffffffc0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0x7e,0xffffffff,(signed char)(x/y)==0xffffffff?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"/",0x7f,0xffffffff,(signed char)(x/y)==0xffffffff?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0xffffff81,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x/y)!=(signed char)63) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0xfffffffe,0x3f,(signed char)(x/y)==0x3f?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x/y)!=(signed char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0xffffffff,0x7f,(signed char)(x/y)==0x7f?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x/y)!=(signed char)-127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0x1,0xffffff81,(signed char)(x/y)==0xffffff81?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)-63) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0x2,0xffffffc1,(signed char)(x/y)==0xffffffc1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0x7e,0xffffffff,(signed char)(x/y)==0xffffffff?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"/",0x7f,0xffffffff,(signed char)(x/y)==0xffffffff?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"/",0xfffffffe,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x/y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"/",0xffffffff,0x2,(signed char)(x/y)==0x2?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x/y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"/",0x1,0xfffffffe,(signed char)(x/y)==0xfffffffe?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"/",0x2,0xffffffff,(signed char)(x/y)==0xffffffff?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"/",0x7e,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"/",0x7f,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"/",0xffffffff,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x/y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"/",0x1,0xffffffff,(signed char)(x/y)==0xffffffff?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"/",0x2,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"/",0x7e,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"/",0x7f,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"/",0x1,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"/",0x2,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"/",0x7e,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"/",0x7f,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"/",0x1,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"/",0x2,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"/",0x7e,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"/",0x7f,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"/",0x2,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"/",0x7e,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"/",0x7f,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"/",0x7e,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"/",0x7f,0x0,(signed char)(x/y)==0x0?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x/y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"/",0x7f,0x1,(signed char)(x/y)==0x1?"PASS":"FAIL",(signed char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-128;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0xffffff80,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-127;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0xffffff81,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-2;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0xfffffffe,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=-1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0xffffffff,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0x1,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0x2,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0x7e,0xfffffffe,(signed char)(x%y)==0xfffffffe?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-128; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff80,"%",0x7f,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-127;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0xffffff81,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-2;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0xfffffffe,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=-1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0xffffffff,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0x1,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0x2,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0x7e,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-127; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffff81,"%",0x7f,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-2;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"%",0xfffffffe,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=-1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"%",0xffffffff,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"%",0x1,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"%",0x2,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"%",0x7e,0xfffffffe,(signed char)(x%y)==0xfffffffe?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-2; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xfffffffe,"%",0x7f,0xfffffffe,(signed char)(x%y)==0xfffffffe?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=-1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"%",0xffffffff,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"%",0x1,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"%",0x2,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"%",0x7e,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=-1; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0xffffffff,"%",0x7f,0xffffffff,(signed char)(x%y)==0xffffffff?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"%",0x1,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"%",0x2,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"%",0x7e,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=0; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x0,"%",0x7f,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=1;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"%",0x1,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"%",0x2,0x1,(signed char)(x%y)==0x1?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"%",0x7e,0x1,(signed char)(x%y)==0x1?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=1; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x1,"%",0x7f,0x1,(signed char)(x%y)==0x1?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=2;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"%",0x2,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"%",0x7e,0x2,(signed char)(x%y)==0x2?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=2; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x2,"%",0x7f,0x2,(signed char)(x%y)==0x2?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=126;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"%",0x7e,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=126; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7e,"%",0x7f,0x7e,(signed char)(x%y)==0x7e?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile signed char x=127; volatile signed char y=127;
|
|
if ((signed char)(x%y)!=(signed char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"signed char",0x7f,"%",0x7f,0x0,(signed char)(x%y)==0x0?"PASS":"FAIL",(signed char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x+y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x80000000,0x0,(unsigned int)(x+y)==0x0?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x80000001,0x1,(unsigned int)(x+y)==0x1?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0xfffffffe,0x7ffffffe,(unsigned int)(x+y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0xffffffff,0x7fffffff,(unsigned int)(x+y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x0,0x80000000,(unsigned int)(x+y)==0x80000000?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x1,0x80000001,(unsigned int)(x+y)==0x80000001?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x2,0x80000002,(unsigned int)(x+y)==0x80000002?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x7ffffffe,0xfffffffe,(unsigned int)(x+y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"+",0x7fffffff,0xffffffff,(unsigned int)(x+y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0x80000001,0x2,(unsigned int)(x+y)==0x2?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0xfffffffe,0x7fffffff,(unsigned int)(x+y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0xffffffff,0x80000000,(unsigned int)(x+y)==0x80000000?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0x0,0x80000001,(unsigned int)(x+y)==0x80000001?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0x1,0x80000002,(unsigned int)(x+y)==0x80000002?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0x2,0x80000003,(unsigned int)(x+y)==0x80000003?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0x7ffffffe,0xffffffff,(unsigned int)(x+y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"+",0x7fffffff,0x0,(unsigned int)(x+y)==0x0?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0xfffffffe,0xfffffffc,(unsigned int)(x+y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0xffffffff,0xfffffffd,(unsigned int)(x+y)==0xfffffffd?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0x0,0xfffffffe,(unsigned int)(x+y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0x1,0xffffffff,(unsigned int)(x+y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0x2,0x0,(unsigned int)(x+y)==0x0?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483644) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0x7ffffffe,0x7ffffffc,(unsigned int)(x+y)==0x7ffffffc?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"+",0x7fffffff,0x7ffffffd,(unsigned int)(x+y)==0x7ffffffd?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"+",0xffffffff,0xfffffffe,(unsigned int)(x+y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"+",0x0,0xffffffff,(unsigned int)(x+y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"+",0x1,0x0,(unsigned int)(x+y)==0x0?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"+",0x2,0x1,(unsigned int)(x+y)==0x1?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"+",0x7ffffffe,0x7ffffffd,(unsigned int)(x+y)==0x7ffffffd?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"+",0x7fffffff,0x7ffffffe,(unsigned int)(x+y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x+y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"+",0x0,0x0,(unsigned int)(x+y)==0x0?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"+",0x1,0x1,(unsigned int)(x+y)==0x1?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"+",0x2,0x2,(unsigned int)(x+y)==0x2?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"+",0x7ffffffe,0x7ffffffe,(unsigned int)(x+y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"+",0x7fffffff,0x7fffffff,(unsigned int)(x+y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"+",0x1,0x2,(unsigned int)(x+y)==0x2?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"+",0x2,0x3,(unsigned int)(x+y)==0x3?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"+",0x7ffffffe,0x7fffffff,(unsigned int)(x+y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"+",0x7fffffff,0x80000000,(unsigned int)(x+y)==0x80000000?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x+y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"+",0x2,0x4,(unsigned int)(x+y)==0x4?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"+",0x7ffffffe,0x80000000,(unsigned int)(x+y)==0x80000000?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"+",0x7fffffff,0x80000001,(unsigned int)(x+y)==0x80000001?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"+",0x7ffffffe,0xfffffffc,(unsigned int)(x+y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"+",0x7fffffff,0xfffffffd,(unsigned int)(x+y)==0xfffffffd?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x+y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"+",0x7fffffff,0xfffffffe,(unsigned int)(x+y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x80000000,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x80000001,0xffffffff,(unsigned int)(x-y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0xfffffffe,0x80000002,(unsigned int)(x-y)==0x80000002?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0xffffffff,0x80000001,(unsigned int)(x-y)==0x80000001?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x0,0x80000000,(unsigned int)(x-y)==0x80000000?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x1,0x7fffffff,(unsigned int)(x-y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x2,0x7ffffffe,(unsigned int)(x-y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x7ffffffe,0x2,(unsigned int)(x-y)==0x2?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"-",0x7fffffff,0x1,(unsigned int)(x-y)==0x1?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0x80000001,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0xfffffffe,0x80000003,(unsigned int)(x-y)==0x80000003?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0xffffffff,0x80000002,(unsigned int)(x-y)==0x80000002?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0x0,0x80000001,(unsigned int)(x-y)==0x80000001?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0x1,0x80000000,(unsigned int)(x-y)==0x80000000?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0x2,0x7fffffff,(unsigned int)(x-y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0x7ffffffe,0x3,(unsigned int)(x-y)==0x3?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"-",0x7fffffff,0x2,(unsigned int)(x-y)==0x2?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0xfffffffe,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0xffffffff,0xffffffff,(unsigned int)(x-y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0x0,0xfffffffe,(unsigned int)(x-y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0x1,0xfffffffd,(unsigned int)(x-y)==0xfffffffd?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0x2,0xfffffffc,(unsigned int)(x-y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0x7ffffffe,0x80000000,(unsigned int)(x-y)==0x80000000?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"-",0x7fffffff,0x7fffffff,(unsigned int)(x-y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"-",0xffffffff,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"-",0x0,0xffffffff,(unsigned int)(x-y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"-",0x1,0xfffffffe,(unsigned int)(x-y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"-",0x2,0xfffffffd,(unsigned int)(x-y)==0xfffffffd?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"-",0x7ffffffe,0x80000001,(unsigned int)(x-y)==0x80000001?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"-",0x7fffffff,0x80000000,(unsigned int)(x-y)==0x80000000?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"-",0x0,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"-",0x1,0xffffffff,(unsigned int)(x-y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"-",0x2,0xfffffffe,(unsigned int)(x-y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"-",0x7ffffffe,0x80000002,(unsigned int)(x-y)==0x80000002?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"-",0x7fffffff,0x80000001,(unsigned int)(x-y)==0x80000001?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"-",0x1,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"-",0x2,0xffffffff,(unsigned int)(x-y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"-",0x7ffffffe,0x80000003,(unsigned int)(x-y)==0x80000003?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"-",0x7fffffff,0x80000002,(unsigned int)(x-y)==0x80000002?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"-",0x2,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483644) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"-",0x7ffffffe,0x80000004,(unsigned int)(x-y)==0x80000004?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"-",0x7fffffff,0x80000003,(unsigned int)(x-y)==0x80000003?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"-",0x7ffffffe,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"-",0x7fffffff,0xffffffff,(unsigned int)(x-y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x-y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"-",0x7fffffff,0x0,(unsigned int)(x-y)==0x0?"PASS":"FAIL",(unsigned int)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x80000000,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x80000001,0x1,(unsigned int)(x^y)==0x1?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0xfffffffe,0x7ffffffe,(unsigned int)(x^y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0xffffffff,0x7fffffff,(unsigned int)(x^y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x0,0x80000000,(unsigned int)(x^y)==0x80000000?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x1,0x80000001,(unsigned int)(x^y)==0x80000001?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x2,0x80000002,(unsigned int)(x^y)==0x80000002?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x7ffffffe,0xfffffffe,(unsigned int)(x^y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"^",0x7fffffff,0xffffffff,(unsigned int)(x^y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0x80000001,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0xfffffffe,0x7fffffff,(unsigned int)(x^y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0xffffffff,0x7ffffffe,(unsigned int)(x^y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0x0,0x80000001,(unsigned int)(x^y)==0x80000001?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0x1,0x80000000,(unsigned int)(x^y)==0x80000000?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0x2,0x80000003,(unsigned int)(x^y)==0x80000003?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0x7ffffffe,0xffffffff,(unsigned int)(x^y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"^",0x7fffffff,0xfffffffe,(unsigned int)(x^y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0xfffffffe,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0xffffffff,0x1,(unsigned int)(x^y)==0x1?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0x0,0xfffffffe,(unsigned int)(x^y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0x1,0xffffffff,(unsigned int)(x^y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0x2,0xfffffffc,(unsigned int)(x^y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0x7ffffffe,0x80000000,(unsigned int)(x^y)==0x80000000?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"^",0x7fffffff,0x80000001,(unsigned int)(x^y)==0x80000001?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"^",0xffffffff,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"^",0x0,0xffffffff,(unsigned int)(x^y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"^",0x1,0xfffffffe,(unsigned int)(x^y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"^",0x2,0xfffffffd,(unsigned int)(x^y)==0xfffffffd?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"^",0x7ffffffe,0x80000001,(unsigned int)(x^y)==0x80000001?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"^",0x7fffffff,0x80000000,(unsigned int)(x^y)==0x80000000?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"^",0x0,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"^",0x1,0x1,(unsigned int)(x^y)==0x1?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"^",0x2,0x2,(unsigned int)(x^y)==0x2?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"^",0x7ffffffe,0x7ffffffe,(unsigned int)(x^y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"^",0x7fffffff,0x7fffffff,(unsigned int)(x^y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"^",0x1,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"^",0x2,0x3,(unsigned int)(x^y)==0x3?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"^",0x7ffffffe,0x7fffffff,(unsigned int)(x^y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"^",0x7fffffff,0x7ffffffe,(unsigned int)(x^y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"^",0x2,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483644) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"^",0x7ffffffe,0x7ffffffc,(unsigned int)(x^y)==0x7ffffffc?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"^",0x7fffffff,0x7ffffffd,(unsigned int)(x^y)==0x7ffffffd?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"^",0x7ffffffe,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"^",0x7fffffff,0x1,(unsigned int)(x^y)==0x1?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x^y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"^",0x7fffffff,0x0,(unsigned int)(x^y)==0x0?"PASS":"FAIL",(unsigned int)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x80000000,0x80000000,(unsigned int)(x&y)==0x80000000?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x80000001,0x80000000,(unsigned int)(x&y)==0x80000000?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0xfffffffe,0x80000000,(unsigned int)(x&y)==0x80000000?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0xffffffff,0x80000000,(unsigned int)(x&y)==0x80000000?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x0,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x1,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x2,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x7ffffffe,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&",0x7fffffff,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0x80000001,0x80000001,(unsigned int)(x&y)==0x80000001?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0xfffffffe,0x80000000,(unsigned int)(x&y)==0x80000000?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0xffffffff,0x80000001,(unsigned int)(x&y)==0x80000001?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0x0,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0x1,0x1,(unsigned int)(x&y)==0x1?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0x2,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0x7ffffffe,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&",0x7fffffff,0x1,(unsigned int)(x&y)==0x1?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0xfffffffe,0xfffffffe,(unsigned int)(x&y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0xffffffff,0xfffffffe,(unsigned int)(x&y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0x0,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0x1,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0x2,0x2,(unsigned int)(x&y)==0x2?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0x7ffffffe,0x7ffffffe,(unsigned int)(x&y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&",0x7fffffff,0x7ffffffe,(unsigned int)(x&y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&",0xffffffff,0xffffffff,(unsigned int)(x&y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&",0x0,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&",0x1,0x1,(unsigned int)(x&y)==0x1?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&",0x2,0x2,(unsigned int)(x&y)==0x2?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&",0x7ffffffe,0x7ffffffe,(unsigned int)(x&y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&",0x7fffffff,0x7fffffff,(unsigned int)(x&y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&",0x0,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&",0x1,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&",0x2,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&",0x7ffffffe,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&",0x7fffffff,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&",0x1,0x1,(unsigned int)(x&y)==0x1?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&",0x2,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&",0x7ffffffe,0x0,(unsigned int)(x&y)==0x0?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&",0x7fffffff,0x1,(unsigned int)(x&y)==0x1?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"&",0x2,0x2,(unsigned int)(x&y)==0x2?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"&",0x7ffffffe,0x2,(unsigned int)(x&y)==0x2?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"&",0x7fffffff,0x2,(unsigned int)(x&y)==0x2?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"&",0x7ffffffe,0x7ffffffe,(unsigned int)(x&y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"&",0x7fffffff,0x7ffffffe,(unsigned int)(x&y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"&",0x7fffffff,0x7fffffff,(unsigned int)(x&y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x80000000,0x80000000,(unsigned int)(x|y)==0x80000000?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x80000001,0x80000001,(unsigned int)(x|y)==0x80000001?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0xfffffffe,0xfffffffe,(unsigned int)(x|y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0xffffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x0,0x80000000,(unsigned int)(x|y)==0x80000000?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x1,0x80000001,(unsigned int)(x|y)==0x80000001?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x2,0x80000002,(unsigned int)(x|y)==0x80000002?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x7ffffffe,0xfffffffe,(unsigned int)(x|y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"|",0x7fffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0x80000001,0x80000001,(unsigned int)(x|y)==0x80000001?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0xfffffffe,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0xffffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0x0,0x80000001,(unsigned int)(x|y)==0x80000001?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0x1,0x80000001,(unsigned int)(x|y)==0x80000001?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2147483645) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0x2,0x80000003,(unsigned int)(x|y)==0x80000003?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0x7ffffffe,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"|",0x7fffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0xfffffffe,0xfffffffe,(unsigned int)(x|y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0xffffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0x0,0xfffffffe,(unsigned int)(x|y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0x1,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0x2,0xfffffffe,(unsigned int)(x|y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0x7ffffffe,0xfffffffe,(unsigned int)(x|y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"|",0x7fffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"|",0xffffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"|",0x0,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"|",0x1,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"|",0x2,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"|",0x7ffffffe,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"|",0x7fffffff,0xffffffff,(unsigned int)(x|y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x|y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"|",0x0,0x0,(unsigned int)(x|y)==0x0?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"|",0x1,0x1,(unsigned int)(x|y)==0x1?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"|",0x2,0x2,(unsigned int)(x|y)==0x2?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"|",0x7ffffffe,0x7ffffffe,(unsigned int)(x|y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"|",0x7fffffff,0x7fffffff,(unsigned int)(x|y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x|y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"|",0x1,0x1,(unsigned int)(x|y)==0x1?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"|",0x2,0x3,(unsigned int)(x|y)==0x3?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"|",0x7ffffffe,0x7fffffff,(unsigned int)(x|y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"|",0x7fffffff,0x7fffffff,(unsigned int)(x|y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"|",0x2,0x2,(unsigned int)(x|y)==0x2?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"|",0x7ffffffe,0x7ffffffe,(unsigned int)(x|y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"|",0x7fffffff,0x7fffffff,(unsigned int)(x|y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"|",0x7ffffffe,0x7ffffffe,(unsigned int)(x|y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"|",0x7fffffff,0x7fffffff,(unsigned int)(x|y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x|y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"|",0x7fffffff,0x7fffffff,(unsigned int)(x|y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<<",0x0,0x80000000,(unsigned int)(x<<y)==0x80000000?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<<",0x1,0x0,(unsigned int)(x<<y)==0x0?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<<",0x2,0x0,(unsigned int)(x<<y)==0x0?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<<",0x0,0x80000001,(unsigned int)(x<<y)==0x80000001?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<<",0x1,0x2,(unsigned int)(x<<y)==0x2?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<<",0x2,0x4,(unsigned int)(x<<y)==0x4?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<<",0x0,0xfffffffe,(unsigned int)(x<<y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<<",0x1,0xfffffffc,(unsigned int)(x<<y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<<",0x2,0xfffffff8,(unsigned int)(x<<y)==0xfffffff8?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<<",0x0,0xffffffff,(unsigned int)(x<<y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<<",0x1,0xfffffffe,(unsigned int)(x<<y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<<",0x2,0xfffffffc,(unsigned int)(x<<y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<<",0x0,0x0,(unsigned int)(x<<y)==0x0?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<<",0x1,0x0,(unsigned int)(x<<y)==0x0?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<<",0x2,0x0,(unsigned int)(x<<y)==0x0?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<<",0x1,0x2,(unsigned int)(x<<y)==0x2?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<<",0x2,0x4,(unsigned int)(x<<y)==0x4?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<<y)!=(unsigned int)8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<<",0x2,0x8,(unsigned int)(x<<y)==0x8?"PASS":"FAIL",(unsigned int)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">>",0x0,0x80000000,(unsigned int)(x>>y)==0x80000000?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">>",0x1,0x40000000,(unsigned int)(x>>y)==0x40000000?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)536870912) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">>",0x2,0x20000000,(unsigned int)(x>>y)==0x20000000?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">>",0x0,0x80000001,(unsigned int)(x>>y)==0x80000001?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">>",0x1,0x40000000,(unsigned int)(x>>y)==0x40000000?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)536870912) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">>",0x2,0x20000000,(unsigned int)(x>>y)==0x20000000?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">>",0x0,0xfffffffe,(unsigned int)(x>>y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">>",0x1,0x7fffffff,(unsigned int)(x>>y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)1073741823) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">>",0x2,0x3fffffff,(unsigned int)(x>>y)==0x3fffffff?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">>",0x0,0xffffffff,(unsigned int)(x>>y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">>",0x1,0x7fffffff,(unsigned int)(x>>y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)1073741823) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">>",0x2,0x3fffffff,(unsigned int)(x>>y)==0x3fffffff?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">>",0x0,0x0,(unsigned int)(x>>y)==0x0?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">>",0x1,0x0,(unsigned int)(x>>y)==0x0?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">>",0x2,0x0,(unsigned int)(x>>y)==0x0?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">>",0x1,0x0,(unsigned int)(x>>y)==0x0?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">>",0x2,0x0,(unsigned int)(x>>y)==0x0?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">>",0x2,0x0,(unsigned int)(x>>y)==0x0?"PASS":"FAIL",(unsigned int)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x80000000,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x80000001,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0xfffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0xffffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x0,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x1,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x2,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0x80000001,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0xfffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0xffffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0x0,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0x1,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0x2,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0xfffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0xffffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0x0,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0x1,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0x2,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&&",0xffffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&&",0x0,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&&",0x1,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&&",0x2,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&&",0x0,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&&",0x1,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&&",0x2,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&&",0x7ffffffe,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"&&",0x7fffffff,0x0,(unsigned int)(x&&y)==0x0?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&&",0x1,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&&",0x2,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"&&",0x2,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"&&",0x7ffffffe,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x&&y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"&&",0x7fffffff,0x1,(unsigned int)(x&&y)==0x1?"PASS":"FAIL",(unsigned int)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x80000000,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x80000001,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0xfffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0xffffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x0,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x1,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0x80000001,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0xfffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0xffffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0x0,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0x1,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0xfffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0xffffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0x0,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0x1,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"||",0xffffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"||",0x0,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"||",0x1,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x||y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"||",0x0,0x0,(unsigned int)(x||y)==0x0?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"||",0x1,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"||",0x1,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"||",0x2,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"||",0x7ffffffe,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x||y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"||",0x7fffffff,0x1,(unsigned int)(x||y)==0x1?"PASS":"FAIL",(unsigned int)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x80000000,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x80000001,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0xfffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0xffffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x0,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x1,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x2,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x7ffffffe,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">",0x7fffffff,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0x80000001,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0xfffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0xffffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0x0,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0x1,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0x2,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0x7ffffffe,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">",0x7fffffff,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0xfffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0xffffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0x0,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0x1,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0x2,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0x7ffffffe,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">",0x7fffffff,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">",0xffffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">",0x0,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">",0x1,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">",0x2,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">",0x7ffffffe,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">",0x7fffffff,0x1,(unsigned int)(x>y)==0x1?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">",0x0,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">",0x1,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">",0x2,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">",0x7ffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">",0x7fffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">",0x1,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">",0x2,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">",0x7ffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">",0x7fffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">",0x2,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">",0x7ffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">",0x7fffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,">",0x7ffffffe,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,">",0x7fffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,">",0x7fffffff,0x0,(unsigned int)(x>y)==0x0?"PASS":"FAIL",(unsigned int)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x80000000,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x80000001,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0xfffffffe,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0xffffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x0,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x1,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x2,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x7ffffffe,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<",0x7fffffff,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0x80000001,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0xfffffffe,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0xffffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0x0,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0x1,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0x2,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0x7ffffffe,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<",0x7fffffff,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0xfffffffe,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0xffffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0x0,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0x1,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0x2,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0x7ffffffe,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<",0x7fffffff,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<",0xffffffff,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<",0x0,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<",0x1,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<",0x2,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<",0x7ffffffe,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<",0x7fffffff,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<",0x0,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<",0x1,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<",0x2,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<",0x7ffffffe,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<",0x7fffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<",0x1,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<",0x2,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<",0x7ffffffe,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<",0x7fffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<",0x2,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<",0x7ffffffe,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<",0x7fffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"<",0x7ffffffe,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"<",0x7fffffff,0x1,(unsigned int)(x<y)==0x1?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"<",0x7fffffff,0x0,(unsigned int)(x<y)==0x0?"PASS":"FAIL",(unsigned int)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x80000000,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x80000001,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0xfffffffe,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0xffffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x0,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x1,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x2,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x7ffffffe,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,">=",0x7fffffff,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0x80000001,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0xfffffffe,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0xffffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0x0,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0x1,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0x2,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0x7ffffffe,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,">=",0x7fffffff,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0xfffffffe,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0xffffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0x0,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0x1,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0x2,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0x7ffffffe,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,">=",0x7fffffff,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">=",0xffffffff,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">=",0x0,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">=",0x1,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">=",0x2,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">=",0x7ffffffe,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,">=",0x7fffffff,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">=",0x0,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">=",0x1,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">=",0x2,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">=",0x7ffffffe,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,">=",0x7fffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">=",0x1,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">=",0x2,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">=",0x7ffffffe,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,">=",0x7fffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">=",0x2,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">=",0x7ffffffe,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,">=",0x7fffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,">=",0x7ffffffe,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,">=",0x7fffffff,0x0,(unsigned int)(x>=y)==0x0?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x>=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,">=",0x7fffffff,0x1,(unsigned int)(x>=y)==0x1?"PASS":"FAIL",(unsigned int)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x80000000,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x80000001,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0xfffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0xffffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x0,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x1,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x2,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x7ffffffe,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"<=",0x7fffffff,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0x80000001,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0xfffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0xffffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0x0,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0x1,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0x2,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0x7ffffffe,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"<=",0x7fffffff,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0xfffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0xffffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0x0,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0x1,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0x2,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0x7ffffffe,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"<=",0x7fffffff,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<=",0xffffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<=",0x0,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<=",0x1,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<=",0x2,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<=",0x7ffffffe,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"<=",0x7fffffff,0x0,(unsigned int)(x<=y)==0x0?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<=",0x0,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<=",0x1,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<=",0x2,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<=",0x7ffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"<=",0x7fffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<=",0x1,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<=",0x2,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<=",0x7ffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"<=",0x7fffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<=",0x2,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<=",0x7ffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"<=",0x7fffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"<=",0x7ffffffe,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"<=",0x7fffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x<=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"<=",0x7fffffff,0x1,(unsigned int)(x<=y)==0x1?"PASS":"FAIL",(unsigned int)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x80000000,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x80000001,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0xfffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0xffffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x0,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x1,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x2,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0x80000001,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0xfffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0xffffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0x0,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0x1,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0x2,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0xfffffffe,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0xffffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0x0,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0x1,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0x2,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"==",0xffffffff,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"==",0x0,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"==",0x1,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"==",0x2,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"==",0x0,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"==",0x1,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"==",0x2,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"==",0x1,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"==",0x2,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"==",0x2,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"==",0x7ffffffe,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"==",0x7ffffffe,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"==",0x7fffffff,0x0,(unsigned int)(x==y)==0x0?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x==y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"==",0x7fffffff,0x1,(unsigned int)(x==y)==0x1?"PASS":"FAIL",(unsigned int)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x80000000,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x80000001,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0xfffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0xffffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x0,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x1,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x2,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0x80000001,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0xfffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0xffffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0x0,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0x1,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0x2,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0xfffffffe,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0xffffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0x0,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0x1,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0x2,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"!=",0xffffffff,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"!=",0x0,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"!=",0x1,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"!=",0x2,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"!=",0x0,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"!=",0x1,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"!=",0x2,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"!=",0x1,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"!=",0x2,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"!=",0x2,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"!=",0x7ffffffe,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"!=",0x7ffffffe,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"!=",0x7fffffff,0x1,(unsigned int)(x!=y)==0x1?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x!=y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"!=",0x7fffffff,0x0,(unsigned int)(x!=y)==0x0?"PASS":"FAIL",(unsigned int)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x80000000,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x80000001,0x80000000,(unsigned int)(x*y)==0x80000000?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0xfffffffe,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0xffffffff,0x80000000,(unsigned int)(x*y)==0x80000000?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=0;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x0,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x1,0x80000000,(unsigned int)(x*y)==0x80000000?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x2,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x7ffffffe,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"*",0x7fffffff,0x80000000,(unsigned int)(x*y)==0x80000000?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0x80000001,0x1,(unsigned int)(x*y)==0x1?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0xfffffffe,0xfffffffe,(unsigned int)(x*y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0xffffffff,0x7fffffff,(unsigned int)(x*y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=0;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0x0,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0x1,0x80000001,(unsigned int)(x*y)==0x80000001?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0x2,0x2,(unsigned int)(x*y)==0x2?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0x7ffffffe,0x7ffffffe,(unsigned int)(x*y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"*",0x7fffffff,0xffffffff,(unsigned int)(x*y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0xfffffffe,0x4,(unsigned int)(x*y)==0x4?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0xffffffff,0x2,(unsigned int)(x*y)==0x2?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=0;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0x0,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0x1,0xfffffffe,(unsigned int)(x*y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0x2,0xfffffffc,(unsigned int)(x*y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0x7ffffffe,0x4,(unsigned int)(x*y)==0x4?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"*",0x7fffffff,0x2,(unsigned int)(x*y)==0x2?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"*",0xffffffff,0x1,(unsigned int)(x*y)==0x1?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=0;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"*",0x0,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"*",0x1,0xffffffff,(unsigned int)(x*y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"*",0x2,0xfffffffe,(unsigned int)(x*y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"*",0x7ffffffe,0x80000002,(unsigned int)(x*y)==0x80000002?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"*",0x7fffffff,0x80000001,(unsigned int)(x*y)==0x80000001?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=0;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"*",0x0,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"*",0x1,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"*",0x2,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"*",0x7ffffffe,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"*",0x7fffffff,0x0,(unsigned int)(x*y)==0x0?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x*y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"*",0x1,0x1,(unsigned int)(x*y)==0x1?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"*",0x2,0x2,(unsigned int)(x*y)==0x2?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"*",0x7ffffffe,0x7ffffffe,(unsigned int)(x*y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"*",0x7fffffff,0x7fffffff,(unsigned int)(x*y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x*y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"*",0x2,0x4,(unsigned int)(x*y)==0x4?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"*",0x7ffffffe,0xfffffffc,(unsigned int)(x*y)==0xfffffffc?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"*",0x7fffffff,0xfffffffe,(unsigned int)(x*y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x*y)!=(unsigned int)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"*",0x7ffffffe,0x4,(unsigned int)(x*y)==0x4?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)-2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"*",0x7fffffff,0x80000002,(unsigned int)(x*y)==0x80000002?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x*y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"*",0x7fffffff,0x1,(unsigned int)(x*y)==0x1?"PASS":"FAIL",(unsigned int)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0x80000000,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0x80000001,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0xfffffffe,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0x1,0x80000000,(unsigned int)(x/y)==0x80000000?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0x2,0x40000000,(unsigned int)(x/y)==0x40000000?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0x7ffffffe,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"/",0x7fffffff,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0x80000001,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0xfffffffe,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0xffffffff,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0x1,0x80000001,(unsigned int)(x/y)==0x80000001?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1073741824) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0x2,0x40000000,(unsigned int)(x/y)==0x40000000?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0x7ffffffe,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"/",0x7fffffff,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"/",0xfffffffe,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"/",0xffffffff,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"/",0x1,0xfffffffe,(unsigned int)(x/y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"/",0x2,0x7fffffff,(unsigned int)(x/y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"/",0x7ffffffe,0x2,(unsigned int)(x/y)==0x2?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"/",0x7fffffff,0x2,(unsigned int)(x/y)==0x2?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"/",0xffffffff,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)-1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"/",0x1,0xffffffff,(unsigned int)(x/y)==0xffffffff?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"/",0x2,0x7fffffff,(unsigned int)(x/y)==0x7fffffff?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"/",0x7ffffffe,0x2,(unsigned int)(x/y)==0x2?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"/",0x7fffffff,0x2,(unsigned int)(x/y)==0x2?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"/",0x1,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"/",0x2,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"/",0x7ffffffe,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"/",0x7fffffff,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"/",0x1,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"/",0x2,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"/",0x7ffffffe,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"/",0x7fffffff,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"/",0x2,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"/",0x7ffffffe,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"/",0x7fffffff,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"/",0x7ffffffe,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"/",0x7fffffff,0x0,(unsigned int)(x/y)==0x0?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x/y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"/",0x7fffffff,0x1,(unsigned int)(x/y)==0x1?"PASS":"FAIL",(unsigned int)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483648;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0x80000000,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0x80000001,0x80000000,(unsigned int)(x%y)==0x80000000?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)-2147483648) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0xfffffffe,0x80000000,(unsigned int)(x%y)==0x80000000?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0x1,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0x2,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0x7ffffffe,0x2,(unsigned int)(x%y)==0x2?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483648; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000000,"%",0x7fffffff,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0x80000001,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0xfffffffe,0x80000001,(unsigned int)(x%y)==0x80000001?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)-2147483647) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0xffffffff,0x80000001,(unsigned int)(x%y)==0x80000001?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0x1,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0x2,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0x7ffffffe,0x3,(unsigned int)(x%y)==0x3?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x80000001,"%",0x7fffffff,0x2,(unsigned int)(x%y)==0x2?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"%",0xfffffffe,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)-2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"%",0xffffffff,0xfffffffe,(unsigned int)(x%y)==0xfffffffe?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"%",0x1,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"%",0x2,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"%",0x7ffffffe,0x2,(unsigned int)(x%y)==0x2?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xfffffffe,"%",0x7fffffff,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=-1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"%",0xffffffff,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"%",0x1,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"%",0x2,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"%",0x7ffffffe,0x3,(unsigned int)(x%y)==0x3?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=-1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0xffffffff,"%",0x7fffffff,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"%",0x1,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"%",0x2,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"%",0x7ffffffe,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=0; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x0,"%",0x7fffffff,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=1;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"%",0x1,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"%",0x2,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"%",0x7ffffffe,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=1; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x1,"%",0x7fffffff,0x1,(unsigned int)(x%y)==0x1?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"%",0x2,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"%",0x7ffffffe,0x2,(unsigned int)(x%y)==0x2?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x2,"%",0x7fffffff,0x2,(unsigned int)(x%y)==0x2?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483646;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"%",0x7ffffffe,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483646; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)2147483646) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7ffffffe,"%",0x7fffffff,0x7ffffffe,(unsigned int)(x%y)==0x7ffffffe?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned int x=2147483647; volatile unsigned int y=2147483647;
|
|
if ((unsigned int)(x%y)!=(unsigned int)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned int",0x7fffffff,"%",0x7fffffff,0x0,(unsigned int)(x%y)==0x0?"PASS":"FAIL",(unsigned int)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x+y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x8000,0x0,(unsigned short)(x+y)==0x0?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x+y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x8001,0x1,(unsigned short)(x+y)==0x1?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0xfffe,0x7ffe,(unsigned short)(x+y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0xffff,0x7fff,(unsigned short)(x+y)==0x7fff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x0,0x8000,(unsigned short)(x+y)==0x8000?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x1,0x8001,(unsigned short)(x+y)==0x8001?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x2,0x8002,(unsigned short)(x+y)==0x8002?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x7ffe,0xfffe,(unsigned short)(x+y)==0xfffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"+",0x7fff,0xffff,(unsigned short)(x+y)==0xffff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x+y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0x8001,0x2,(unsigned short)(x+y)==0x2?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0xfffe,0x7fff,(unsigned short)(x+y)==0x7fff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0xffff,0x8000,(unsigned short)(x+y)==0x8000?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0x0,0x8001,(unsigned short)(x+y)==0x8001?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0x1,0x8002,(unsigned short)(x+y)==0x8002?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32771) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0x2,0x8003,(unsigned short)(x+y)==0x8003?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0x7ffe,0xffff,(unsigned short)(x+y)==0xffff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"+",0x7fff,0x0,(unsigned short)(x+y)==0x0?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0xfffe,0xfffc,(unsigned short)(x+y)==0xfffc?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65533) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0xffff,0xfffd,(unsigned short)(x+y)==0xfffd?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0x0,0xfffe,(unsigned short)(x+y)==0xfffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0x1,0xffff,(unsigned short)(x+y)==0xffff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0x2,0x0,(unsigned short)(x+y)==0x0?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32764) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0x7ffe,0x7ffc,(unsigned short)(x+y)==0x7ffc?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"+",0x7fff,0x7ffd,(unsigned short)(x+y)==0x7ffd?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"+",0xffff,0xfffe,(unsigned short)(x+y)==0xfffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"+",0x0,0xffff,(unsigned short)(x+y)==0xffff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x+y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"+",0x1,0x0,(unsigned short)(x+y)==0x0?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"+",0x2,0x1,(unsigned short)(x+y)==0x1?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"+",0x7ffe,0x7ffd,(unsigned short)(x+y)==0x7ffd?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"+",0x7fff,0x7ffe,(unsigned short)(x+y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x+y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"+",0x0,0x0,(unsigned short)(x+y)==0x0?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x+y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"+",0x1,0x1,(unsigned short)(x+y)==0x1?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"+",0x2,0x2,(unsigned short)(x+y)==0x2?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"+",0x7ffe,0x7ffe,(unsigned short)(x+y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"+",0x7fff,0x7fff,(unsigned short)(x+y)==0x7fff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x+y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"+",0x1,0x2,(unsigned short)(x+y)==0x2?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"+",0x2,0x3,(unsigned short)(x+y)==0x3?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"+",0x7ffe,0x7fff,(unsigned short)(x+y)==0x7fff?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"+",0x7fff,0x8000,(unsigned short)(x+y)==0x8000?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x+y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"+",0x2,0x4,(unsigned short)(x+y)==0x4?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"+",0x7ffe,0x8000,(unsigned short)(x+y)==0x8000?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"+",0x7fff,0x8001,(unsigned short)(x+y)==0x8001?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"+",0x7ffe,0xfffc,(unsigned short)(x+y)==0xfffc?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65533) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"+",0x7fff,0xfffd,(unsigned short)(x+y)==0xfffd?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x+y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"+",0x7fff,0xfffe,(unsigned short)(x+y)==0xfffe?"PASS":"FAIL",(unsigned short)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x8000,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x8001,0xffff,(unsigned short)(x-y)==0xffff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0xfffe,0x8002,(unsigned short)(x-y)==0x8002?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0xffff,0x8001,(unsigned short)(x-y)==0x8001?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x0,0x8000,(unsigned short)(x-y)==0x8000?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x1,0x7fff,(unsigned short)(x-y)==0x7fff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x2,0x7ffe,(unsigned short)(x-y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x7ffe,0x2,(unsigned short)(x-y)==0x2?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"-",0x7fff,0x1,(unsigned short)(x-y)==0x1?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0x8001,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32771) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0xfffe,0x8003,(unsigned short)(x-y)==0x8003?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0xffff,0x8002,(unsigned short)(x-y)==0x8002?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0x0,0x8001,(unsigned short)(x-y)==0x8001?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0x1,0x8000,(unsigned short)(x-y)==0x8000?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0x2,0x7fff,(unsigned short)(x-y)==0x7fff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0x7ffe,0x3,(unsigned short)(x-y)==0x3?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"-",0x7fff,0x2,(unsigned short)(x-y)==0x2?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0xfffe,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0xffff,0xffff,(unsigned short)(x-y)==0xffff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0x0,0xfffe,(unsigned short)(x-y)==0xfffe?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65533) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0x1,0xfffd,(unsigned short)(x-y)==0xfffd?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0x2,0xfffc,(unsigned short)(x-y)==0xfffc?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0x7ffe,0x8000,(unsigned short)(x-y)==0x8000?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"-",0x7fff,0x7fff,(unsigned short)(x-y)==0x7fff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"-",0xffff,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"-",0x0,0xffff,(unsigned short)(x-y)==0xffff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"-",0x1,0xfffe,(unsigned short)(x-y)==0xfffe?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65533) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"-",0x2,0xfffd,(unsigned short)(x-y)==0xfffd?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"-",0x7ffe,0x8001,(unsigned short)(x-y)==0x8001?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"-",0x7fff,0x8000,(unsigned short)(x-y)==0x8000?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"-",0x0,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"-",0x1,0xffff,(unsigned short)(x-y)==0xffff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"-",0x2,0xfffe,(unsigned short)(x-y)==0xfffe?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"-",0x7ffe,0x8002,(unsigned short)(x-y)==0x8002?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"-",0x7fff,0x8001,(unsigned short)(x-y)==0x8001?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"-",0x1,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"-",0x2,0xffff,(unsigned short)(x-y)==0xffff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32771) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"-",0x7ffe,0x8003,(unsigned short)(x-y)==0x8003?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"-",0x7fff,0x8002,(unsigned short)(x-y)==0x8002?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"-",0x2,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32772) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"-",0x7ffe,0x8004,(unsigned short)(x-y)==0x8004?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)32771) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"-",0x7fff,0x8003,(unsigned short)(x-y)==0x8003?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"-",0x7ffe,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"-",0x7fff,0xffff,(unsigned short)(x-y)==0xffff?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x-y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"-",0x7fff,0x0,(unsigned short)(x-y)==0x0?"PASS":"FAIL",(unsigned short)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x8000,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x^y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x8001,0x1,(unsigned short)(x^y)==0x1?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0xfffe,0x7ffe,(unsigned short)(x^y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0xffff,0x7fff,(unsigned short)(x^y)==0x7fff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x0,0x8000,(unsigned short)(x^y)==0x8000?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x1,0x8001,(unsigned short)(x^y)==0x8001?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x2,0x8002,(unsigned short)(x^y)==0x8002?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x7ffe,0xfffe,(unsigned short)(x^y)==0xfffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"^",0x7fff,0xffff,(unsigned short)(x^y)==0xffff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0x8001,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0xfffe,0x7fff,(unsigned short)(x^y)==0x7fff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0xffff,0x7ffe,(unsigned short)(x^y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0x0,0x8001,(unsigned short)(x^y)==0x8001?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0x1,0x8000,(unsigned short)(x^y)==0x8000?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32771) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0x2,0x8003,(unsigned short)(x^y)==0x8003?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0x7ffe,0xffff,(unsigned short)(x^y)==0xffff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"^",0x7fff,0xfffe,(unsigned short)(x^y)==0xfffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0xfffe,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x^y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0xffff,0x1,(unsigned short)(x^y)==0x1?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0x0,0xfffe,(unsigned short)(x^y)==0xfffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0x1,0xffff,(unsigned short)(x^y)==0xffff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0x2,0xfffc,(unsigned short)(x^y)==0xfffc?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0x7ffe,0x8000,(unsigned short)(x^y)==0x8000?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"^",0x7fff,0x8001,(unsigned short)(x^y)==0x8001?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"^",0xffff,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"^",0x0,0xffff,(unsigned short)(x^y)==0xffff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"^",0x1,0xfffe,(unsigned short)(x^y)==0xfffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)65533) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"^",0x2,0xfffd,(unsigned short)(x^y)==0xfffd?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"^",0x7ffe,0x8001,(unsigned short)(x^y)==0x8001?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"^",0x7fff,0x8000,(unsigned short)(x^y)==0x8000?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"^",0x0,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x^y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"^",0x1,0x1,(unsigned short)(x^y)==0x1?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"^",0x2,0x2,(unsigned short)(x^y)==0x2?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"^",0x7ffe,0x7ffe,(unsigned short)(x^y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"^",0x7fff,0x7fff,(unsigned short)(x^y)==0x7fff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"^",0x1,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"^",0x2,0x3,(unsigned short)(x^y)==0x3?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"^",0x7ffe,0x7fff,(unsigned short)(x^y)==0x7fff?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"^",0x7fff,0x7ffe,(unsigned short)(x^y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"^",0x2,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32764) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"^",0x7ffe,0x7ffc,(unsigned short)(x^y)==0x7ffc?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)32765) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"^",0x7fff,0x7ffd,(unsigned short)(x^y)==0x7ffd?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"^",0x7ffe,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"^",0x7fff,0x1,(unsigned short)(x^y)==0x1?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x^y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"^",0x7fff,0x0,(unsigned short)(x^y)==0x0?"PASS":"FAIL",(unsigned short)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x8000,0x8000,(unsigned short)(x&y)==0x8000?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x8001,0x8000,(unsigned short)(x&y)==0x8000?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0xfffe,0x8000,(unsigned short)(x&y)==0x8000?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0xffff,0x8000,(unsigned short)(x&y)==0x8000?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x0,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x1,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x2,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x7ffe,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&",0x7fff,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0x8001,0x8001,(unsigned short)(x&y)==0x8001?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0xfffe,0x8000,(unsigned short)(x&y)==0x8000?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0xffff,0x8001,(unsigned short)(x&y)==0x8001?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0x0,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0x1,0x1,(unsigned short)(x&y)==0x1?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0x2,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0x7ffe,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&",0x7fff,0x1,(unsigned short)(x&y)==0x1?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x&y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0xfffe,0xfffe,(unsigned short)(x&y)==0xfffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0xffff,0xfffe,(unsigned short)(x&y)==0xfffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0x0,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0x1,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0x2,0x2,(unsigned short)(x&y)==0x2?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0x7ffe,0x7ffe,(unsigned short)(x&y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&",0x7fff,0x7ffe,(unsigned short)(x&y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&",0xffff,0xffff,(unsigned short)(x&y)==0xffff?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&",0x0,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&",0x1,0x1,(unsigned short)(x&y)==0x1?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&",0x2,0x2,(unsigned short)(x&y)==0x2?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&",0x7ffe,0x7ffe,(unsigned short)(x&y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&",0x7fff,0x7fff,(unsigned short)(x&y)==0x7fff?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&",0x0,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&",0x1,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&",0x2,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&",0x7ffe,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&",0x7fff,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&",0x1,0x1,(unsigned short)(x&y)==0x1?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&",0x2,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&",0x7ffe,0x0,(unsigned short)(x&y)==0x0?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&",0x7fff,0x1,(unsigned short)(x&y)==0x1?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"&",0x2,0x2,(unsigned short)(x&y)==0x2?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"&",0x7ffe,0x2,(unsigned short)(x&y)==0x2?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"&",0x7fff,0x2,(unsigned short)(x&y)==0x2?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"&",0x7ffe,0x7ffe,(unsigned short)(x&y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"&",0x7fff,0x7ffe,(unsigned short)(x&y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"&",0x7fff,0x7fff,(unsigned short)(x&y)==0x7fff?"PASS":"FAIL",(unsigned short)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x8000,0x8000,(unsigned short)(x|y)==0x8000?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x8001,0x8001,(unsigned short)(x|y)==0x8001?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0xfffe,0xfffe,(unsigned short)(x|y)==0xfffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0xffff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x0,0x8000,(unsigned short)(x|y)==0x8000?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x1,0x8001,(unsigned short)(x|y)==0x8001?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x2,0x8002,(unsigned short)(x|y)==0x8002?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x7ffe,0xfffe,(unsigned short)(x|y)==0xfffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"|",0x7fff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0x8001,0x8001,(unsigned short)(x|y)==0x8001?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0xfffe,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0xffff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0x0,0x8001,(unsigned short)(x|y)==0x8001?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0x1,0x8001,(unsigned short)(x|y)==0x8001?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32771) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0x2,0x8003,(unsigned short)(x|y)==0x8003?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0x7ffe,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"|",0x7fff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0xfffe,0xfffe,(unsigned short)(x|y)==0xfffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0xffff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0x0,0xfffe,(unsigned short)(x|y)==0xfffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0x1,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0x2,0xfffe,(unsigned short)(x|y)==0xfffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0x7ffe,0xfffe,(unsigned short)(x|y)==0xfffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"|",0x7fff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"|",0xffff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"|",0x0,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"|",0x1,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"|",0x2,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"|",0x7ffe,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"|",0x7fff,0xffff,(unsigned short)(x|y)==0xffff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x|y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"|",0x0,0x0,(unsigned short)(x|y)==0x0?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x|y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"|",0x1,0x1,(unsigned short)(x|y)==0x1?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"|",0x2,0x2,(unsigned short)(x|y)==0x2?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"|",0x7ffe,0x7ffe,(unsigned short)(x|y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"|",0x7fff,0x7fff,(unsigned short)(x|y)==0x7fff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x|y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"|",0x1,0x1,(unsigned short)(x|y)==0x1?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"|",0x2,0x3,(unsigned short)(x|y)==0x3?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"|",0x7ffe,0x7fff,(unsigned short)(x|y)==0x7fff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"|",0x7fff,0x7fff,(unsigned short)(x|y)==0x7fff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x|y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"|",0x2,0x2,(unsigned short)(x|y)==0x2?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"|",0x7ffe,0x7ffe,(unsigned short)(x|y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"|",0x7fff,0x7fff,(unsigned short)(x|y)==0x7fff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"|",0x7ffe,0x7ffe,(unsigned short)(x|y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"|",0x7fff,0x7fff,(unsigned short)(x|y)==0x7fff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x|y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"|",0x7fff,0x7fff,(unsigned short)(x|y)==0x7fff?"PASS":"FAIL",(unsigned short)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<<",0x0,0x8000,(unsigned short)(x<<y)==0x8000?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<<",0x1,0x0,(unsigned short)(x<<y)==0x0?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<<",0x2,0x0,(unsigned short)(x<<y)==0x0?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<<",0x0,0x8001,(unsigned short)(x<<y)==0x8001?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<<",0x1,0x2,(unsigned short)(x<<y)==0x2?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<<",0x2,0x4,(unsigned short)(x<<y)==0x4?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<<",0x0,0xfffe,(unsigned short)(x<<y)==0xfffe?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<<",0x1,0xfffc,(unsigned short)(x<<y)==0xfffc?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)65528) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<<",0x2,0xfff8,(unsigned short)(x<<y)==0xfff8?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<<",0x0,0xffff,(unsigned short)(x<<y)==0xffff?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<<",0x1,0xfffe,(unsigned short)(x<<y)==0xfffe?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<<",0x2,0xfffc,(unsigned short)(x<<y)==0xfffc?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<<",0x0,0x0,(unsigned short)(x<<y)==0x0?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<<",0x1,0x0,(unsigned short)(x<<y)==0x0?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<<",0x2,0x0,(unsigned short)(x<<y)==0x0?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<<",0x1,0x2,(unsigned short)(x<<y)==0x2?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<<",0x2,0x4,(unsigned short)(x<<y)==0x4?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<<y)!=(unsigned short)8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<<",0x2,0x8,(unsigned short)(x<<y)==0x8?"PASS":"FAIL",(unsigned short)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">>",0x0,0x8000,(unsigned short)(x>>y)==0x8000?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">>",0x1,0x4000,(unsigned short)(x>>y)==0x4000?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)8192) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">>",0x2,0x2000,(unsigned short)(x>>y)==0x2000?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">>",0x0,0x8001,(unsigned short)(x>>y)==0x8001?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">>",0x1,0x4000,(unsigned short)(x>>y)==0x4000?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)8192) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">>",0x2,0x2000,(unsigned short)(x>>y)==0x2000?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">>",0x0,0xfffe,(unsigned short)(x>>y)==0xfffe?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">>",0x1,0x7fff,(unsigned short)(x>>y)==0x7fff?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)16383) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">>",0x2,0x3fff,(unsigned short)(x>>y)==0x3fff?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">>",0x0,0xffff,(unsigned short)(x>>y)==0xffff?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">>",0x1,0x7fff,(unsigned short)(x>>y)==0x7fff?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)16383) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">>",0x2,0x3fff,(unsigned short)(x>>y)==0x3fff?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">>",0x0,0x0,(unsigned short)(x>>y)==0x0?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">>",0x1,0x0,(unsigned short)(x>>y)==0x0?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">>",0x2,0x0,(unsigned short)(x>>y)==0x0?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">>",0x1,0x0,(unsigned short)(x>>y)==0x0?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">>",0x2,0x0,(unsigned short)(x>>y)==0x0?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">>",0x2,0x0,(unsigned short)(x>>y)==0x0?"PASS":"FAIL",(unsigned short)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x8000,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x8001,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0xfffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0xffff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x0,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x1,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x2,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0x8001,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0xfffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0xffff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0x0,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0x1,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0x2,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0xfffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0xffff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0x0,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0x1,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0x2,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&&",0xffff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&&",0x0,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&&",0x1,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&&",0x2,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&&",0x0,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&&",0x1,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&&",0x2,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&&",0x7ffe,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"&&",0x7fff,0x0,(unsigned short)(x&&y)==0x0?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&&",0x1,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&&",0x2,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"&&",0x2,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"&&",0x7ffe,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x&&y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"&&",0x7fff,0x1,(unsigned short)(x&&y)==0x1?"PASS":"FAIL",(unsigned short)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x8000,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x8001,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0xfffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0xffff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x0,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x1,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0x8001,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0xfffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0xffff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0x0,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0x1,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0xfffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0xffff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0x0,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0x1,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"||",0xffff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"||",0x0,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"||",0x1,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x||y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"||",0x0,0x0,(unsigned short)(x||y)==0x0?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"||",0x1,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"||",0x1,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"||",0x2,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"||",0x7ffe,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x||y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"||",0x7fff,0x1,(unsigned short)(x||y)==0x1?"PASS":"FAIL",(unsigned short)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x8000,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x8001,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0xfffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0xffff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x0,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x1,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x2,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x7ffe,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">",0x7fff,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0x8001,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0xfffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0xffff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0x0,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0x1,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0x2,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0x7ffe,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">",0x7fff,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0xfffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0xffff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0x0,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0x1,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0x2,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0x7ffe,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">",0x7fff,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">",0xffff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">",0x0,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">",0x1,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">",0x2,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">",0x7ffe,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">",0x7fff,0x1,(unsigned short)(x>y)==0x1?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">",0x0,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">",0x1,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">",0x2,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">",0x7ffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">",0x7fff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">",0x1,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">",0x2,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">",0x7ffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">",0x7fff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">",0x2,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">",0x7ffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">",0x7fff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,">",0x7ffe,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,">",0x7fff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,">",0x7fff,0x0,(unsigned short)(x>y)==0x0?"PASS":"FAIL",(unsigned short)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x8000,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x8001,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0xfffe,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0xffff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x0,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x1,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x2,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x7ffe,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<",0x7fff,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0x8001,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0xfffe,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0xffff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0x0,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0x1,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0x2,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0x7ffe,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<",0x7fff,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0xfffe,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0xffff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0x0,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0x1,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0x2,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0x7ffe,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<",0x7fff,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<",0xffff,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<",0x0,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<",0x1,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<",0x2,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<",0x7ffe,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<",0x7fff,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<",0x0,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<",0x1,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<",0x2,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<",0x7ffe,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<",0x7fff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<",0x1,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<",0x2,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<",0x7ffe,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<",0x7fff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<",0x2,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<",0x7ffe,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<",0x7fff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"<",0x7ffe,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"<",0x7fff,0x1,(unsigned short)(x<y)==0x1?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"<",0x7fff,0x0,(unsigned short)(x<y)==0x0?"PASS":"FAIL",(unsigned short)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x8000,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x8001,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0xfffe,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0xffff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x0,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x1,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x2,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x7ffe,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,">=",0x7fff,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0x8001,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0xfffe,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0xffff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0x0,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0x1,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0x2,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0x7ffe,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,">=",0x7fff,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0xfffe,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0xffff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0x0,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0x1,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0x2,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0x7ffe,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,">=",0x7fff,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">=",0xffff,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">=",0x0,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">=",0x1,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">=",0x2,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">=",0x7ffe,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,">=",0x7fff,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">=",0x0,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">=",0x1,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">=",0x2,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">=",0x7ffe,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,">=",0x7fff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">=",0x1,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">=",0x2,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">=",0x7ffe,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,">=",0x7fff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">=",0x2,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">=",0x7ffe,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,">=",0x7fff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,">=",0x7ffe,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,">=",0x7fff,0x0,(unsigned short)(x>=y)==0x0?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x>=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,">=",0x7fff,0x1,(unsigned short)(x>=y)==0x1?"PASS":"FAIL",(unsigned short)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x8000,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x8001,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0xfffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0xffff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x0,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x1,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x2,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x7ffe,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"<=",0x7fff,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0x8001,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0xfffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0xffff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0x0,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0x1,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0x2,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0x7ffe,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"<=",0x7fff,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0xfffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0xffff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0x0,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0x1,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0x2,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0x7ffe,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"<=",0x7fff,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<=",0xffff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<=",0x0,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<=",0x1,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<=",0x2,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<=",0x7ffe,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"<=",0x7fff,0x0,(unsigned short)(x<=y)==0x0?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<=",0x0,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<=",0x1,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<=",0x2,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<=",0x7ffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"<=",0x7fff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<=",0x1,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<=",0x2,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<=",0x7ffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"<=",0x7fff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<=",0x2,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<=",0x7ffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"<=",0x7fff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"<=",0x7ffe,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"<=",0x7fff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x<=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"<=",0x7fff,0x1,(unsigned short)(x<=y)==0x1?"PASS":"FAIL",(unsigned short)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x8000,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x8001,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0xfffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0xffff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x0,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x1,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x2,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0x8001,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0xfffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0xffff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0x0,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0x1,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0x2,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0xfffe,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0xffff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0x0,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0x1,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0x2,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"==",0xffff,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"==",0x0,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"==",0x1,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"==",0x2,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"==",0x0,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"==",0x1,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"==",0x2,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"==",0x1,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"==",0x2,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"==",0x2,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"==",0x7ffe,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"==",0x7ffe,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"==",0x7fff,0x0,(unsigned short)(x==y)==0x0?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x==y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"==",0x7fff,0x1,(unsigned short)(x==y)==0x1?"PASS":"FAIL",(unsigned short)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x8000,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x8001,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0xfffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0xffff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x0,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x1,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x2,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0x8001,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0xfffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0xffff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0x0,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0x1,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0x2,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0xfffe,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0xffff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0x0,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0x1,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0x2,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"!=",0xffff,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"!=",0x0,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"!=",0x1,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"!=",0x2,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"!=",0x0,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"!=",0x1,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"!=",0x2,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"!=",0x1,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"!=",0x2,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"!=",0x2,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"!=",0x7ffe,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"!=",0x7ffe,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"!=",0x7fff,0x1,(unsigned short)(x!=y)==0x1?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x!=y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"!=",0x7fff,0x0,(unsigned short)(x!=y)==0x0?"PASS":"FAIL",(unsigned short)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x8000,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x8001,0x8000,(unsigned short)(x*y)==0x8000?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0xfffe,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0xffff,0x8000,(unsigned short)(x*y)==0x8000?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=0;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x0,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x1,0x8000,(unsigned short)(x*y)==0x8000?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x2,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x7ffe,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"*",0x7fff,0x8000,(unsigned short)(x*y)==0x8000?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x*y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0x8001,0x1,(unsigned short)(x*y)==0x1?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0xfffe,0xfffe,(unsigned short)(x*y)==0xfffe?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0xffff,0x7fff,(unsigned short)(x*y)==0x7fff?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=0;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0x0,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0x1,0x8001,(unsigned short)(x*y)==0x8001?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0x2,0x2,(unsigned short)(x*y)==0x2?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0x7ffe,0x7ffe,(unsigned short)(x*y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"*",0x7fff,0xffff,(unsigned short)(x*y)==0xffff?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x*y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0xfffe,0x4,(unsigned short)(x*y)==0x4?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x*y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0xffff,0x2,(unsigned short)(x*y)==0x2?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=0;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0x0,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0x1,0xfffe,(unsigned short)(x*y)==0xfffe?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0x2,0xfffc,(unsigned short)(x*y)==0xfffc?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0x7ffe,0x4,(unsigned short)(x*y)==0x4?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"*",0x7fff,0x2,(unsigned short)(x*y)==0x2?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x*y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"*",0xffff,0x1,(unsigned short)(x*y)==0x1?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=0;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"*",0x0,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"*",0x1,0xffff,(unsigned short)(x*y)==0xffff?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"*",0x2,0xfffe,(unsigned short)(x*y)==0xfffe?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"*",0x7ffe,0x8002,(unsigned short)(x*y)==0x8002?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"*",0x7fff,0x8001,(unsigned short)(x*y)==0x8001?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=0;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"*",0x0,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"*",0x1,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"*",0x2,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"*",0x7ffe,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"*",0x7fff,0x0,(unsigned short)(x*y)==0x0?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x*y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"*",0x1,0x1,(unsigned short)(x*y)==0x1?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"*",0x2,0x2,(unsigned short)(x*y)==0x2?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"*",0x7ffe,0x7ffe,(unsigned short)(x*y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"*",0x7fff,0x7fff,(unsigned short)(x*y)==0x7fff?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x*y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"*",0x2,0x4,(unsigned short)(x*y)==0x4?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65532) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"*",0x7ffe,0xfffc,(unsigned short)(x*y)==0xfffc?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"*",0x7fff,0xfffe,(unsigned short)(x*y)==0xfffe?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x*y)!=(unsigned short)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"*",0x7ffe,0x4,(unsigned short)(x*y)==0x4?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)32770) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"*",0x7fff,0x8002,(unsigned short)(x*y)==0x8002?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x*y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"*",0x7fff,0x1,(unsigned short)(x*y)==0x1?"PASS":"FAIL",(unsigned short)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0x8000,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0x8001,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0xfffe,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0xffff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x/y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0x1,0x8000,(unsigned short)(x/y)==0x8000?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0x2,0x4000,(unsigned short)(x/y)==0x4000?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0x7ffe,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"/",0x7fff,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0x8001,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0xfffe,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0xffff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x/y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0x1,0x8001,(unsigned short)(x/y)==0x8001?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)16384) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0x2,0x4000,(unsigned short)(x/y)==0x4000?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0x7ffe,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"/",0x7fff,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"/",0xfffe,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"/",0xffff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x/y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"/",0x1,0xfffe,(unsigned short)(x/y)==0xfffe?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"/",0x2,0x7fff,(unsigned short)(x/y)==0x7fff?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"/",0x7ffe,0x2,(unsigned short)(x/y)==0x2?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"/",0x7fff,0x2,(unsigned short)(x/y)==0x2?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"/",0xffff,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x/y)!=(unsigned short)65535) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"/",0x1,0xffff,(unsigned short)(x/y)==0xffff?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)32767) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"/",0x2,0x7fff,(unsigned short)(x/y)==0x7fff?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"/",0x7ffe,0x2,(unsigned short)(x/y)==0x2?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"/",0x7fff,0x2,(unsigned short)(x/y)==0x2?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"/",0x1,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"/",0x2,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"/",0x7ffe,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"/",0x7fff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"/",0x1,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"/",0x2,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"/",0x7ffe,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"/",0x7fff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"/",0x2,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"/",0x7ffe,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"/",0x7fff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"/",0x7ffe,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"/",0x7fff,0x0,(unsigned short)(x/y)==0x0?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x/y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"/",0x7fff,0x1,(unsigned short)(x/y)==0x1?"PASS":"FAIL",(unsigned short)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32768;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0x8000,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x%y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0x8001,0x8000,(unsigned short)(x%y)==0x8000?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x%y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0xfffe,0x8000,(unsigned short)(x%y)==0x8000?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x%y)!=(unsigned short)32768) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0xffff,0x8000,(unsigned short)(x%y)==0x8000?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=1;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0x1,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0x2,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0x7ffe,0x2,(unsigned short)(x%y)==0x2?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32768; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8000,"%",0x7fff,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32769;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0x8001,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x%y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0xfffe,0x8001,(unsigned short)(x%y)==0x8001?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x%y)!=(unsigned short)32769) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0xffff,0x8001,(unsigned short)(x%y)==0x8001?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=1;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0x1,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0x2,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0x7ffe,0x3,(unsigned short)(x%y)==0x3?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32769; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x8001,"%",0x7fff,0x2,(unsigned short)(x%y)==0x2?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65534;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"%",0xfffe,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x%y)!=(unsigned short)65534) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"%",0xffff,0xfffe,(unsigned short)(x%y)==0xfffe?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=1;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"%",0x1,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"%",0x2,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"%",0x7ffe,0x2,(unsigned short)(x%y)==0x2?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65534; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xfffe,"%",0x7fff,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=65535;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"%",0xffff,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=1;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"%",0x1,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"%",0x2,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"%",0x7ffe,0x3,(unsigned short)(x%y)==0x3?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=65535; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0xffff,"%",0x7fff,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=1;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"%",0x1,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"%",0x2,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"%",0x7ffe,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=0; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x0,"%",0x7fff,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=1;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"%",0x1,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"%",0x2,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"%",0x7ffe,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=1; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x1,"%",0x7fff,0x1,(unsigned short)(x%y)==0x1?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=2;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"%",0x2,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"%",0x7ffe,0x2,(unsigned short)(x%y)==0x2?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=2; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x2,"%",0x7fff,0x2,(unsigned short)(x%y)==0x2?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32766;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"%",0x7ffe,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32766; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)32766) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7ffe,"%",0x7fff,0x7ffe,(unsigned short)(x%y)==0x7ffe?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned short x=32767; volatile unsigned short y=32767;
|
|
if ((unsigned short)(x%y)!=(unsigned short)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned short",0x7fff,"%",0x7fff,0x0,(unsigned short)(x%y)==0x0?"PASS":"FAIL",(unsigned short)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x+y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x80,0x0,(unsigned char)(x+y)==0x0?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x+y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x81,0x1,(unsigned char)(x+y)==0x1?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x+y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0xfe,0x7e,(unsigned char)(x+y)==0x7e?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x+y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0xff,0x7f,(unsigned char)(x+y)==0x7f?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x+y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x0,0x80,(unsigned char)(x+y)==0x80?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x+y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x1,0x81,(unsigned char)(x+y)==0x81?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x2,0x82,(unsigned char)(x+y)==0x82?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x7e,0xfe,(unsigned char)(x+y)==0xfe?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"+",0x7f,0xff,(unsigned char)(x+y)==0xff?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x+y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0x81,0x2,(unsigned char)(x+y)==0x2?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x+y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0xfe,0x7f,(unsigned char)(x+y)==0x7f?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x+y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0xff,0x80,(unsigned char)(x+y)==0x80?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x+y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0x0,0x81,(unsigned char)(x+y)==0x81?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x+y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0x1,0x82,(unsigned char)(x+y)==0x82?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)131) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0x2,0x83,(unsigned char)(x+y)==0x83?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0x7e,0xff,(unsigned char)(x+y)==0xff?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"+",0x7f,0x0,(unsigned char)(x+y)==0x0?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x+y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0xfe,0xfc,(unsigned char)(x+y)==0xfc?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x+y)!=(unsigned char)253) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0xff,0xfd,(unsigned char)(x+y)==0xfd?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x+y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0x0,0xfe,(unsigned char)(x+y)==0xfe?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x+y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0x1,0xff,(unsigned char)(x+y)==0xff?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0x2,0x0,(unsigned char)(x+y)==0x0?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)124) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0x7e,0x7c,(unsigned char)(x+y)==0x7c?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"+",0x7f,0x7d,(unsigned char)(x+y)==0x7d?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x+y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"+",0xff,0xfe,(unsigned char)(x+y)==0xfe?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x+y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"+",0x0,0xff,(unsigned char)(x+y)==0xff?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x+y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"+",0x1,0x0,(unsigned char)(x+y)==0x0?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"+",0x2,0x1,(unsigned char)(x+y)==0x1?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"+",0x7e,0x7d,(unsigned char)(x+y)==0x7d?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"+",0x7f,0x7e,(unsigned char)(x+y)==0x7e?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x+y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"+",0x0,0x0,(unsigned char)(x+y)==0x0?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x+y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"+",0x1,0x1,(unsigned char)(x+y)==0x1?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"+",0x2,0x2,(unsigned char)(x+y)==0x2?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"+",0x7e,0x7e,(unsigned char)(x+y)==0x7e?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"+",0x7f,0x7f,(unsigned char)(x+y)==0x7f?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x+y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"+",0x1,0x2,(unsigned char)(x+y)==0x2?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"+",0x2,0x3,(unsigned char)(x+y)==0x3?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"+",0x7e,0x7f,(unsigned char)(x+y)==0x7f?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"+",0x7f,0x80,(unsigned char)(x+y)==0x80?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x+y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"+",0x2,0x4,(unsigned char)(x+y)==0x4?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"+",0x7e,0x80,(unsigned char)(x+y)==0x80?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"+",0x7f,0x81,(unsigned char)(x+y)==0x81?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x+y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"+",0x7e,0xfc,(unsigned char)(x+y)==0xfc?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)253) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"+",0x7f,0xfd,(unsigned char)(x+y)==0xfd?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x+y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"+",0x7f,0xfe,(unsigned char)(x+y)==0xfe?"PASS":"FAIL",(unsigned char)(x+y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x80,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x-y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x81,0xff,(unsigned char)(x-y)==0xff?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x-y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0xfe,0x82,(unsigned char)(x-y)==0x82?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x-y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0xff,0x81,(unsigned char)(x-y)==0x81?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x-y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x0,0x80,(unsigned char)(x-y)==0x80?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x-y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x1,0x7f,(unsigned char)(x-y)==0x7f?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x2,0x7e,(unsigned char)(x-y)==0x7e?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x7e,0x2,(unsigned char)(x-y)==0x2?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"-",0x7f,0x1,(unsigned char)(x-y)==0x1?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0x81,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x-y)!=(unsigned char)131) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0xfe,0x83,(unsigned char)(x-y)==0x83?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x-y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0xff,0x82,(unsigned char)(x-y)==0x82?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x-y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0x0,0x81,(unsigned char)(x-y)==0x81?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x-y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0x1,0x80,(unsigned char)(x-y)==0x80?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0x2,0x7f,(unsigned char)(x-y)==0x7f?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0x7e,0x3,(unsigned char)(x-y)==0x3?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"-",0x7f,0x2,(unsigned char)(x-y)==0x2?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0xfe,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x-y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0xff,0xff,(unsigned char)(x-y)==0xff?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x-y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0x0,0xfe,(unsigned char)(x-y)==0xfe?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x-y)!=(unsigned char)253) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0x1,0xfd,(unsigned char)(x-y)==0xfd?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0x2,0xfc,(unsigned char)(x-y)==0xfc?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0x7e,0x80,(unsigned char)(x-y)==0x80?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"-",0x7f,0x7f,(unsigned char)(x-y)==0x7f?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"-",0xff,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x-y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"-",0x0,0xff,(unsigned char)(x-y)==0xff?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x-y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"-",0x1,0xfe,(unsigned char)(x-y)==0xfe?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)253) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"-",0x2,0xfd,(unsigned char)(x-y)==0xfd?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"-",0x7e,0x81,(unsigned char)(x-y)==0x81?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"-",0x7f,0x80,(unsigned char)(x-y)==0x80?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"-",0x0,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x-y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"-",0x1,0xff,(unsigned char)(x-y)==0xff?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"-",0x2,0xfe,(unsigned char)(x-y)==0xfe?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"-",0x7e,0x82,(unsigned char)(x-y)==0x82?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"-",0x7f,0x81,(unsigned char)(x-y)==0x81?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"-",0x1,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"-",0x2,0xff,(unsigned char)(x-y)==0xff?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)131) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"-",0x7e,0x83,(unsigned char)(x-y)==0x83?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"-",0x7f,0x82,(unsigned char)(x-y)==0x82?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"-",0x2,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)132) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"-",0x7e,0x84,(unsigned char)(x-y)==0x84?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)131) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"-",0x7f,0x83,(unsigned char)(x-y)==0x83?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"-",0x7e,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"-",0x7f,0xff,(unsigned char)(x-y)==0xff?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x-y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"-",0x7f,0x0,(unsigned char)(x-y)==0x0?"PASS":"FAIL",(unsigned char)(x-y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x80,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x^y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x81,0x1,(unsigned char)(x^y)==0x1?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x^y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0xfe,0x7e,(unsigned char)(x^y)==0x7e?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x^y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0xff,0x7f,(unsigned char)(x^y)==0x7f?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x^y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x0,0x80,(unsigned char)(x^y)==0x80?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x^y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x1,0x81,(unsigned char)(x^y)==0x81?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x2,0x82,(unsigned char)(x^y)==0x82?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x7e,0xfe,(unsigned char)(x^y)==0xfe?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"^",0x7f,0xff,(unsigned char)(x^y)==0xff?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0x81,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x^y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0xfe,0x7f,(unsigned char)(x^y)==0x7f?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x^y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0xff,0x7e,(unsigned char)(x^y)==0x7e?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x^y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0x0,0x81,(unsigned char)(x^y)==0x81?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x^y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0x1,0x80,(unsigned char)(x^y)==0x80?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)131) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0x2,0x83,(unsigned char)(x^y)==0x83?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0x7e,0xff,(unsigned char)(x^y)==0xff?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"^",0x7f,0xfe,(unsigned char)(x^y)==0xfe?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0xfe,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x^y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0xff,0x1,(unsigned char)(x^y)==0x1?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x^y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0x0,0xfe,(unsigned char)(x^y)==0xfe?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x^y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0x1,0xff,(unsigned char)(x^y)==0xff?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0x2,0xfc,(unsigned char)(x^y)==0xfc?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0x7e,0x80,(unsigned char)(x^y)==0x80?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"^",0x7f,0x81,(unsigned char)(x^y)==0x81?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"^",0xff,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x^y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"^",0x0,0xff,(unsigned char)(x^y)==0xff?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x^y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"^",0x1,0xfe,(unsigned char)(x^y)==0xfe?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)253) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"^",0x2,0xfd,(unsigned char)(x^y)==0xfd?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"^",0x7e,0x81,(unsigned char)(x^y)==0x81?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"^",0x7f,0x80,(unsigned char)(x^y)==0x80?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"^",0x0,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x^y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"^",0x1,0x1,(unsigned char)(x^y)==0x1?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"^",0x2,0x2,(unsigned char)(x^y)==0x2?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"^",0x7e,0x7e,(unsigned char)(x^y)==0x7e?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"^",0x7f,0x7f,(unsigned char)(x^y)==0x7f?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"^",0x1,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"^",0x2,0x3,(unsigned char)(x^y)==0x3?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"^",0x7e,0x7f,(unsigned char)(x^y)==0x7f?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"^",0x7f,0x7e,(unsigned char)(x^y)==0x7e?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"^",0x2,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)124) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"^",0x7e,0x7c,(unsigned char)(x^y)==0x7c?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)125) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"^",0x7f,0x7d,(unsigned char)(x^y)==0x7d?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"^",0x7e,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"^",0x7f,0x1,(unsigned char)(x^y)==0x1?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x^y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"^",0x7f,0x0,(unsigned char)(x^y)==0x0?"PASS":"FAIL",(unsigned char)(x^y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x&y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x80,0x80,(unsigned char)(x&y)==0x80?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x&y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x81,0x80,(unsigned char)(x&y)==0x80?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x&y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0xfe,0x80,(unsigned char)(x&y)==0x80?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0xff,0x80,(unsigned char)(x&y)==0x80?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x0,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x1,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x2,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x7e,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&",0x7f,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x&y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0x81,0x81,(unsigned char)(x&y)==0x81?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x&y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0xfe,0x80,(unsigned char)(x&y)==0x80?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0xff,0x81,(unsigned char)(x&y)==0x81?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0x0,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0x1,0x1,(unsigned char)(x&y)==0x1?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0x2,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0x7e,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&",0x7f,0x1,(unsigned char)(x&y)==0x1?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x&y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0xfe,0xfe,(unsigned char)(x&y)==0xfe?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0xff,0xfe,(unsigned char)(x&y)==0xfe?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0x0,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0x1,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0x2,0x2,(unsigned char)(x&y)==0x2?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0x7e,0x7e,(unsigned char)(x&y)==0x7e?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&",0x7f,0x7e,(unsigned char)(x&y)==0x7e?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&",0xff,0xff,(unsigned char)(x&y)==0xff?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&",0x0,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&",0x1,0x1,(unsigned char)(x&y)==0x1?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&",0x2,0x2,(unsigned char)(x&y)==0x2?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&",0x7e,0x7e,(unsigned char)(x&y)==0x7e?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&",0x7f,0x7f,(unsigned char)(x&y)==0x7f?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&",0x0,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&",0x1,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&",0x2,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&",0x7e,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&",0x7f,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&",0x1,0x1,(unsigned char)(x&y)==0x1?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&",0x2,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&",0x7e,0x0,(unsigned char)(x&y)==0x0?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&",0x7f,0x1,(unsigned char)(x&y)==0x1?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"&",0x2,0x2,(unsigned char)(x&y)==0x2?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"&",0x7e,0x2,(unsigned char)(x&y)==0x2?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"&",0x7f,0x2,(unsigned char)(x&y)==0x2?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"&",0x7e,0x7e,(unsigned char)(x&y)==0x7e?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"&",0x7f,0x7e,(unsigned char)(x&y)==0x7e?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"&",0x7f,0x7f,(unsigned char)(x&y)==0x7f?"PASS":"FAIL",(unsigned char)(x&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x|y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x80,0x80,(unsigned char)(x|y)==0x80?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x|y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x81,0x81,(unsigned char)(x|y)==0x81?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x|y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0xfe,0xfe,(unsigned char)(x|y)==0xfe?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0xff,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x|y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x0,0x80,(unsigned char)(x|y)==0x80?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x|y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x1,0x81,(unsigned char)(x|y)==0x81?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x2,0x82,(unsigned char)(x|y)==0x82?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x7e,0xfe,(unsigned char)(x|y)==0xfe?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"|",0x7f,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x|y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0x81,0x81,(unsigned char)(x|y)==0x81?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0xfe,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0xff,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x|y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0x0,0x81,(unsigned char)(x|y)==0x81?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x|y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0x1,0x81,(unsigned char)(x|y)==0x81?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)131) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0x2,0x83,(unsigned char)(x|y)==0x83?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0x7e,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"|",0x7f,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x|y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0xfe,0xfe,(unsigned char)(x|y)==0xfe?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0xff,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x|y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0x0,0xfe,(unsigned char)(x|y)==0xfe?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0x1,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0x2,0xfe,(unsigned char)(x|y)==0xfe?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0x7e,0xfe,(unsigned char)(x|y)==0xfe?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"|",0x7f,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"|",0xff,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"|",0x0,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"|",0x1,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"|",0x2,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"|",0x7e,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"|",0x7f,0xff,(unsigned char)(x|y)==0xff?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x|y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"|",0x0,0x0,(unsigned char)(x|y)==0x0?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x|y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"|",0x1,0x1,(unsigned char)(x|y)==0x1?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"|",0x2,0x2,(unsigned char)(x|y)==0x2?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"|",0x7e,0x7e,(unsigned char)(x|y)==0x7e?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"|",0x7f,0x7f,(unsigned char)(x|y)==0x7f?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x|y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"|",0x1,0x1,(unsigned char)(x|y)==0x1?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"|",0x2,0x3,(unsigned char)(x|y)==0x3?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"|",0x7e,0x7f,(unsigned char)(x|y)==0x7f?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"|",0x7f,0x7f,(unsigned char)(x|y)==0x7f?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x|y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"|",0x2,0x2,(unsigned char)(x|y)==0x2?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"|",0x7e,0x7e,(unsigned char)(x|y)==0x7e?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"|",0x7f,0x7f,(unsigned char)(x|y)==0x7f?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x|y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"|",0x7e,0x7e,(unsigned char)(x|y)==0x7e?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"|",0x7f,0x7f,(unsigned char)(x|y)==0x7f?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x|y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"|",0x7f,0x7f,(unsigned char)(x|y)==0x7f?"PASS":"FAIL",(unsigned char)(x|y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<<",0x0,0x80,(unsigned char)(x<<y)==0x80?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<<",0x1,0x0,(unsigned char)(x<<y)==0x0?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<<",0x2,0x0,(unsigned char)(x<<y)==0x0?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<<",0x0,0x81,(unsigned char)(x<<y)==0x81?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<<",0x1,0x2,(unsigned char)(x<<y)==0x2?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<<",0x2,0x4,(unsigned char)(x<<y)==0x4?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<<",0x0,0xfe,(unsigned char)(x<<y)==0xfe?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<<",0x1,0xfc,(unsigned char)(x<<y)==0xfc?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)248) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<<",0x2,0xf8,(unsigned char)(x<<y)==0xf8?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<<",0x0,0xff,(unsigned char)(x<<y)==0xff?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<<",0x1,0xfe,(unsigned char)(x<<y)==0xfe?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<<",0x2,0xfc,(unsigned char)(x<<y)==0xfc?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<<",0x0,0x0,(unsigned char)(x<<y)==0x0?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<<",0x1,0x0,(unsigned char)(x<<y)==0x0?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<<",0x2,0x0,(unsigned char)(x<<y)==0x0?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<<",0x1,0x2,(unsigned char)(x<<y)==0x2?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<<",0x2,0x4,(unsigned char)(x<<y)==0x4?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<<y)!=(unsigned char)8) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<<",0x2,0x8,(unsigned char)(x<<y)==0x8?"PASS":"FAIL",(unsigned char)(x<<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">>",0x0,0x80,(unsigned char)(x>>y)==0x80?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">>",0x1,0x40,(unsigned char)(x>>y)==0x40?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)32) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">>",0x2,0x20,(unsigned char)(x>>y)==0x20?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">>",0x0,0x81,(unsigned char)(x>>y)==0x81?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">>",0x1,0x40,(unsigned char)(x>>y)==0x40?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)32) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">>",0x2,0x20,(unsigned char)(x>>y)==0x20?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">>",0x0,0xfe,(unsigned char)(x>>y)==0xfe?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">>",0x1,0x7f,(unsigned char)(x>>y)==0x7f?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)63) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">>",0x2,0x3f,(unsigned char)(x>>y)==0x3f?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">>",0x0,0xff,(unsigned char)(x>>y)==0xff?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">>",0x1,0x7f,(unsigned char)(x>>y)==0x7f?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)63) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">>",0x2,0x3f,(unsigned char)(x>>y)==0x3f?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">>",0x0,0x0,(unsigned char)(x>>y)==0x0?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">>",0x1,0x0,(unsigned char)(x>>y)==0x0?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">>",0x2,0x0,(unsigned char)(x>>y)==0x0?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">>",0x1,0x0,(unsigned char)(x>>y)==0x0?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">>",0x2,0x0,(unsigned char)(x>>y)==0x0?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">>",0x2,0x0,(unsigned char)(x>>y)==0x0?"PASS":"FAIL",(unsigned char)(x>>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x80,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x81,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0xfe,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0xff,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x0,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x1,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x2,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0x81,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0xfe,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0xff,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0x0,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0x1,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0x2,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0xfe,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0xff,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0x0,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0x1,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0x2,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&&",0xff,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&&",0x0,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&&",0x1,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&&",0x2,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&&",0x0,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&&",0x1,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&&",0x2,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&&",0x7e,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"&&",0x7f,0x0,(unsigned char)(x&&y)==0x0?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&&",0x1,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&&",0x2,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"&&",0x2,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"&&",0x7e,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x&&y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"&&",0x7f,0x1,(unsigned char)(x&&y)==0x1?"PASS":"FAIL",(unsigned char)(x&&y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x80,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x81,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0xfe,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0xff,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x0,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x1,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0x81,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0xfe,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0xff,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0x0,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0x1,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0xfe,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0xff,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0x0,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0x1,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"||",0xff,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"||",0x0,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"||",0x1,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x||y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"||",0x0,0x0,(unsigned char)(x||y)==0x0?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"||",0x1,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"||",0x1,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"||",0x2,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"||",0x7e,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x||y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"||",0x7f,0x1,(unsigned char)(x||y)==0x1?"PASS":"FAIL",(unsigned char)(x||y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x80,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x81,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0xfe,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0xff,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x0,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x1,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x2,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x7e,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">",0x7f,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0x81,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0xfe,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0xff,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0x0,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0x1,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0x2,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0x7e,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">",0x7f,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0xfe,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0xff,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0x0,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0x1,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0x2,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0x7e,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">",0x7f,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">",0xff,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">",0x0,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">",0x1,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">",0x2,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">",0x7e,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">",0x7f,0x1,(unsigned char)(x>y)==0x1?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">",0x0,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">",0x1,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">",0x2,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">",0x7e,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">",0x7f,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">",0x1,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">",0x2,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">",0x7e,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">",0x7f,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">",0x2,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">",0x7e,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">",0x7f,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,">",0x7e,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,">",0x7f,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,">",0x7f,0x0,(unsigned char)(x>y)==0x0?"PASS":"FAIL",(unsigned char)(x>y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x80,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x81,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0xfe,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0xff,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x0,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x1,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x2,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x7e,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<",0x7f,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0x81,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0xfe,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0xff,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0x0,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0x1,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0x2,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0x7e,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<",0x7f,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0xfe,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0xff,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0x0,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0x1,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0x2,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0x7e,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<",0x7f,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<",0xff,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<",0x0,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<",0x1,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<",0x2,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<",0x7e,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<",0x7f,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<",0x0,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<",0x1,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<",0x2,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<",0x7e,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<",0x7f,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<",0x1,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<",0x2,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<",0x7e,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<",0x7f,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<",0x2,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<",0x7e,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<",0x7f,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"<",0x7e,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"<",0x7f,0x1,(unsigned char)(x<y)==0x1?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"<",0x7f,0x0,(unsigned char)(x<y)==0x0?"PASS":"FAIL",(unsigned char)(x<y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x80,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x81,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0xfe,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0xff,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x0,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x1,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x2,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x7e,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,">=",0x7f,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0x81,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0xfe,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0xff,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0x0,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0x1,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0x2,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0x7e,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,">=",0x7f,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0xfe,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0xff,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0x0,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0x1,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0x2,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0x7e,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,">=",0x7f,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">=",0xff,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">=",0x0,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">=",0x1,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">=",0x2,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">=",0x7e,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,">=",0x7f,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">=",0x0,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">=",0x1,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">=",0x2,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">=",0x7e,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,">=",0x7f,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">=",0x1,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">=",0x2,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">=",0x7e,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,">=",0x7f,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">=",0x2,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">=",0x7e,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,">=",0x7f,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,">=",0x7e,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,">=",0x7f,0x0,(unsigned char)(x>=y)==0x0?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x>=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,">=",0x7f,0x1,(unsigned char)(x>=y)==0x1?"PASS":"FAIL",(unsigned char)(x>=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x80,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x81,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0xfe,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0xff,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x0,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x1,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x2,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x7e,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"<=",0x7f,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0x81,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0xfe,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0xff,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0x0,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0x1,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0x2,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0x7e,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"<=",0x7f,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0xfe,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0xff,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0x0,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0x1,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0x2,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0x7e,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"<=",0x7f,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<=",0xff,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<=",0x0,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<=",0x1,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<=",0x2,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<=",0x7e,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"<=",0x7f,0x0,(unsigned char)(x<=y)==0x0?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<=",0x0,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<=",0x1,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<=",0x2,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<=",0x7e,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"<=",0x7f,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<=",0x1,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<=",0x2,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<=",0x7e,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"<=",0x7f,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<=",0x2,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<=",0x7e,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"<=",0x7f,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"<=",0x7e,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"<=",0x7f,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x<=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"<=",0x7f,0x1,(unsigned char)(x<=y)==0x1?"PASS":"FAIL",(unsigned char)(x<=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x80,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x81,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0xfe,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0xff,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x0,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x1,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x2,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0x81,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0xfe,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0xff,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0x0,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0x1,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0x2,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0xfe,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0xff,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0x0,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0x1,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0x2,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"==",0xff,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"==",0x0,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"==",0x1,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"==",0x2,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"==",0x0,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"==",0x1,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"==",0x2,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"==",0x1,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"==",0x2,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"==",0x2,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"==",0x7e,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"==",0x7e,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"==",0x7f,0x0,(unsigned char)(x==y)==0x0?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x==y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"==",0x7f,0x1,(unsigned char)(x==y)==0x1?"PASS":"FAIL",(unsigned char)(x==y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x80,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x81,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0xfe,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0xff,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x0,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x1,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x2,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0x81,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0xfe,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0xff,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0x0,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0x1,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0x2,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0xfe,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0xff,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0x0,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0x1,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0x2,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"!=",0xff,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"!=",0x0,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"!=",0x1,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"!=",0x2,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"!=",0x0,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"!=",0x1,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"!=",0x2,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"!=",0x1,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"!=",0x2,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"!=",0x2,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"!=",0x7e,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"!=",0x7e,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"!=",0x7f,0x1,(unsigned char)(x!=y)==0x1?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x!=y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"!=",0x7f,0x0,(unsigned char)(x!=y)==0x0?"PASS":"FAIL",(unsigned char)(x!=y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x80,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x*y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x81,0x80,(unsigned char)(x*y)==0x80?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0xfe,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x*y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0xff,0x80,(unsigned char)(x*y)==0x80?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=0;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x0,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x*y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x1,0x80,(unsigned char)(x*y)==0x80?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x2,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x7e,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"*",0x7f,0x80,(unsigned char)(x*y)==0x80?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x*y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0x81,0x1,(unsigned char)(x*y)==0x1?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x*y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0xfe,0xfe,(unsigned char)(x*y)==0xfe?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x*y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0xff,0x7f,(unsigned char)(x*y)==0x7f?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=0;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0x0,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x*y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0x1,0x81,(unsigned char)(x*y)==0x81?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0x2,0x2,(unsigned char)(x*y)==0x2?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0x7e,0x7e,(unsigned char)(x*y)==0x7e?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"*",0x7f,0xff,(unsigned char)(x*y)==0xff?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x*y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0xfe,0x4,(unsigned char)(x*y)==0x4?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x*y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0xff,0x2,(unsigned char)(x*y)==0x2?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=0;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0x0,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x*y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0x1,0xfe,(unsigned char)(x*y)==0xfe?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0x2,0xfc,(unsigned char)(x*y)==0xfc?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0x7e,0x4,(unsigned char)(x*y)==0x4?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"*",0x7f,0x2,(unsigned char)(x*y)==0x2?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x*y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"*",0xff,0x1,(unsigned char)(x*y)==0x1?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=0;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"*",0x0,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x*y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"*",0x1,0xff,(unsigned char)(x*y)==0xff?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"*",0x2,0xfe,(unsigned char)(x*y)==0xfe?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"*",0x7e,0x82,(unsigned char)(x*y)==0x82?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"*",0x7f,0x81,(unsigned char)(x*y)==0x81?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=0;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"*",0x0,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"*",0x1,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"*",0x2,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"*",0x7e,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"*",0x7f,0x0,(unsigned char)(x*y)==0x0?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x*y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"*",0x1,0x1,(unsigned char)(x*y)==0x1?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"*",0x2,0x2,(unsigned char)(x*y)==0x2?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"*",0x7e,0x7e,(unsigned char)(x*y)==0x7e?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"*",0x7f,0x7f,(unsigned char)(x*y)==0x7f?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x*y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"*",0x2,0x4,(unsigned char)(x*y)==0x4?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)252) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"*",0x7e,0xfc,(unsigned char)(x*y)==0xfc?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"*",0x7f,0xfe,(unsigned char)(x*y)==0xfe?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x*y)!=(unsigned char)4) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"*",0x7e,0x4,(unsigned char)(x*y)==0x4?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)130) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"*",0x7f,0x82,(unsigned char)(x*y)==0x82?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x*y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"*",0x7f,0x1,(unsigned char)(x*y)==0x1?"PASS":"FAIL",(unsigned char)(x*y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0x80,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0x81,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0xfe,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0xff,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x/y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0x1,0x80,(unsigned char)(x/y)==0x80?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0x2,0x40,(unsigned char)(x/y)==0x40?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0x7e,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"/",0x7f,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0x81,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0xfe,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0xff,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x/y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0x1,0x81,(unsigned char)(x/y)==0x81?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)64) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0x2,0x40,(unsigned char)(x/y)==0x40?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0x7e,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"/",0x7f,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"/",0xfe,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"/",0xff,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x/y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"/",0x1,0xfe,(unsigned char)(x/y)==0xfe?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"/",0x2,0x7f,(unsigned char)(x/y)==0x7f?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"/",0x7e,0x2,(unsigned char)(x/y)==0x2?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"/",0x7f,0x2,(unsigned char)(x/y)==0x2?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"/",0xff,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x/y)!=(unsigned char)255) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"/",0x1,0xff,(unsigned char)(x/y)==0xff?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)127) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"/",0x2,0x7f,(unsigned char)(x/y)==0x7f?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"/",0x7e,0x2,(unsigned char)(x/y)==0x2?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"/",0x7f,0x2,(unsigned char)(x/y)==0x2?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"/",0x1,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"/",0x2,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"/",0x7e,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"/",0x7f,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"/",0x1,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"/",0x2,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"/",0x7e,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"/",0x7f,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"/",0x2,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"/",0x7e,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"/",0x7f,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"/",0x7e,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"/",0x7f,0x0,(unsigned char)(x/y)==0x0?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x/y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"/",0x7f,0x1,(unsigned char)(x/y)==0x1?"PASS":"FAIL",(unsigned char)(x/y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=128;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0x80,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=129;
|
|
if ((unsigned char)(x%y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0x81,0x80,(unsigned char)(x%y)==0x80?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=254;
|
|
if ((unsigned char)(x%y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0xfe,0x80,(unsigned char)(x%y)==0x80?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=255;
|
|
if ((unsigned char)(x%y)!=(unsigned char)128) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0xff,0x80,(unsigned char)(x%y)==0x80?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=1;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0x1,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0x2,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0x7e,0x2,(unsigned char)(x%y)==0x2?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=128; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x80,"%",0x7f,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=129;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0x81,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=254;
|
|
if ((unsigned char)(x%y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0xfe,0x81,(unsigned char)(x%y)==0x81?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=255;
|
|
if ((unsigned char)(x%y)!=(unsigned char)129) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0xff,0x81,(unsigned char)(x%y)==0x81?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=1;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0x1,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0x2,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0x7e,0x3,(unsigned char)(x%y)==0x3?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=129; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x81,"%",0x7f,0x2,(unsigned char)(x%y)==0x2?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=254;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"%",0xfe,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=255;
|
|
if ((unsigned char)(x%y)!=(unsigned char)254) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"%",0xff,0xfe,(unsigned char)(x%y)==0xfe?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=1;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"%",0x1,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"%",0x2,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"%",0x7e,0x2,(unsigned char)(x%y)==0x2?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=254; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xfe,"%",0x7f,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=255;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"%",0xff,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=1;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"%",0x1,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"%",0x2,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)3) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"%",0x7e,0x3,(unsigned char)(x%y)==0x3?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=255; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0xff,"%",0x7f,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=1;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"%",0x1,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"%",0x2,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"%",0x7e,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=0; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x0,"%",0x7f,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=1;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"%",0x1,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"%",0x2,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"%",0x7e,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=1; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)1) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x1,"%",0x7f,0x1,(unsigned char)(x%y)==0x1?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=2;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"%",0x2,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"%",0x7e,0x2,(unsigned char)(x%y)==0x2?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=2; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)2) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x2,"%",0x7f,0x2,(unsigned char)(x%y)==0x2?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=126;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"%",0x7e,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=126; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)126) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7e,"%",0x7f,0x7e,(unsigned char)(x%y)==0x7e?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
{
|
|
volatile unsigned char x=127; volatile unsigned char y=127;
|
|
if ((unsigned char)(x%y)!=(unsigned char)0) {
|
|
printf("line %d: %s: %d %s %d == %d => %s (%d)\n",__LINE__,"unsigned char",0x7f,"%",0x7f,0x0,(unsigned char)(x%y)==0x0?"PASS":"FAIL",(unsigned char)(x%y));
|
|
exit_code = 1;}}
|
|
return exit_code;
|
|
}
|