projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: unify min/max macros
[deliverable/binutils-gdb.git]
/
sim
/
bfin
/
bfin-sim.c
diff --git
a/sim/bfin/bfin-sim.c
b/sim/bfin/bfin-sim.c
index 98efcb487589b2594e683156701240607f9c1df3..000a00fcb42bc48f54e21c9d7b6263018f9654a2 100644
(file)
--- a/
sim/bfin/bfin-sim.c
+++ b/
sim/bfin/bfin-sim.c
@@
-5716,7
+5716,7
@@
decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
bu32 fg = DREG (src0);
bu32 bg = DREG (src1);
bu32 len = fg & 0x1f;
- bu32 mask = (1 <<
MIN
(16, len)) - 1;
+ bu32 mask = (1 <<
min
(16, len)) - 1;
bu32 fgnd = (fg >> 16) & mask;
int shft = ((fg >> 8) & 0x1f);
This page took
0.03238 seconds
and
4
git commands to generate.