Commit f8e9bb87 authored by Matthias Braun's avatar Matthias Braun
Browse files

improved testapps

parent 13222f4a
#include <stdio.h>
/*
* Multiplication test for mul register constraints
*/
int a, b, c, d, e, f, g, h, i, j, k;
int a = -2, b = 3, c = -4, d = 6, e = -6;
unsigned ua = 2, ub = 3;
int main()
{
int A, B, C;
unsigned D;
A = b * c;
B = A * d;
C = A * e;
D = ua * ub;
printf("Result: %d %u\n", A+B+C, D);
return A+B+C;
return 0;
}
static int test(int a)
int test(int a)
{
int b = 0xff;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment