• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1    /*
2     * Generic 32bit-to-32bit floating point unary operation.  Provide an
3     * "instr" line that specifies an instruction that performs "s1 = op s0".
4     *
5     * For: float-to-int, int-to-float
6     *
7     * On entry:
8     *     r0 = target dalvik register address
9     *     r1 = src dalvik register address
10     */
11    /* unop vA, vB */
12    flds    s0, [r1]                    @ s0<- vB
13    $instr                              @ s1<- op s0
14    fsts    s1, [r0]                    @ vA<- s1
15    bx      lr
16