OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Commit for Jiangning.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
msubu-3.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 isa_rev>=1 -mgp32" } */
3
/* { dg-final { scan-assembler-times "\tmsubu\t" 2 } } */
4
5
typedef unsigned int ui;
6
typedef unsigned long long ull;
7
8
NOMIPS16 ull
9
f1 (ui x, ui y, ull z)
10
{
11
return z - (ull) y * x;
12
}
13
14
NOMIPS16 ull
15
f2 (ui x, ui y, ull z)
16
{
17
ull t = (ull) x * y;
18
int temp = 5;
19
if (temp == 5)
20
z -= t;
21
return z;
22
}