Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1301)

Unified Diff: runtime/vm/assembler_arm64.h

Issue 2940883008: [arm, arm64] Implemented unaligned scalar float access. (Closed)
Patch Set: piecewise float64 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64.h
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h
index cde10dac4e529ea577cac9b1a6445a1bed009b64..cbeadfd80e1fa3b669cfd6ffb2fafefb6e0dbbf9 100644
--- a/runtime/vm/assembler_arm64.h
+++ b/runtime/vm/assembler_arm64.h
@@ -843,6 +843,18 @@ class Assembler : public ValueObject {
EmitFPImm(FMOVDI, vd, imm8);
return true;
}
+ void fmovsr(VRegister vd, Register rn) {
+ ASSERT(rn != R31);
+ ASSERT(rn != CSP);
+ const Register crn = ConcreteRegister(rn);
+ EmitFPIntCvtOp(FMOVSR, static_cast<Register>(vd), crn, kWord);
+ }
+ void fmovrs(Register rd, VRegister vn) {
+ ASSERT(rd != R31);
+ ASSERT(rd != CSP);
+ const Register crd = ConcreteRegister(rd);
+ EmitFPIntCvtOp(FMOVRS, crd, static_cast<Register>(vn), kWord);
+ }
void fmovdr(VRegister vd, Register rn) {
ASSERT(rn != R31);
ASSERT(rn != CSP);
« no previous file with comments | « no previous file | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698