qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_repl_qb.c
<<
>>
Prefs
   1#include<stdio.h>
   2#include<assert.h>
   3
   4int main()
   5{
   6    int rd, result;
   7
   8    result = 0xBFBFBFBF;
   9    __asm
  10        ("repl.qb %0, 0xBF\n\t"
  11         : "=r"(rd)
  12        );
  13    assert(rd == result);
  14
  15    return 0;
  16}
  17