diff options
Diffstat (limited to 'vm/compiler/template/armv5te-vfp/funopWider.S')
-rw-r--r-- | vm/compiler/template/armv5te-vfp/funopWider.S | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vm/compiler/template/armv5te-vfp/funopWider.S b/vm/compiler/template/armv5te-vfp/funopWider.S new file mode 100644 index 0000000..dbe745c --- /dev/null +++ b/vm/compiler/template/armv5te-vfp/funopWider.S @@ -0,0 +1,15 @@ + /* + * Generic 32bit-to-64bit floating point unary operation. Provide an + * "instr" line that specifies an instruction that performs "d0 = op s0". + * + * For: int-to-double, float-to-double + * + * On entry: + * r0 = target dalvik register address + * r1 = src dalvik register address + */ + /* unop vA, vB */ + flds s0, [r1] @ s0<- vB + $instr @ d0<- op s0 + fstd d0, [r0] @ vA<- d0 + bx lr |