| Submitter | Jovanovic, Petar |
|---|---|
| Date | Dec. 12, 2012, 11:19 p.m. |
| Message ID | <874D219413C17C42B1D2E0432B92BE5CBBE29596@exchdb03.mips.com> |
| Download | mbox | patch |
| Permalink | /patch/205684/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/tests/tcg/mips/mips32-dsp/repl_ph.c b/tests/tcg/mips/mips32-dsp/repl_ph.c index 2107495..07d137d --- a/tests/tcg/mips/mips32-dsp/repl_ph.c +++ b/tests/tcg/mips/mips32-dsp/repl_ph.c @@ -19,5 +19,12 @@ int main() ); assert(rd == result); + result = 0xFFFFFFFF; + __asm + ("repl.ph %0, -1\n\t" + : "=r"(rd) + ); + assert(rd == result); + return 0; }