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

Side by Side Diff: src/arm64/macro-assembler-arm64-inl.h

Issue 223843002: ARM64: Fixes and more support for FRINT<X> instructions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm64/macro-assembler-arm64.h ('k') | src/arm64/simulator-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 fnmsub(fd, fn, fm, fa); 826 fnmsub(fd, fn, fm, fa);
827 } 827 }
828 828
829 829
830 void MacroAssembler::Frinta(const FPRegister& fd, const FPRegister& fn) { 830 void MacroAssembler::Frinta(const FPRegister& fd, const FPRegister& fn) {
831 ASSERT(allow_macro_instructions_); 831 ASSERT(allow_macro_instructions_);
832 frinta(fd, fn); 832 frinta(fd, fn);
833 } 833 }
834 834
835 835
836 void MacroAssembler::Frintm(const FPRegister& fd, const FPRegister& fn) {
837 ASSERT(allow_macro_instructions_);
838 frintm(fd, fn);
839 }
840
841
836 void MacroAssembler::Frintn(const FPRegister& fd, const FPRegister& fn) { 842 void MacroAssembler::Frintn(const FPRegister& fd, const FPRegister& fn) {
837 ASSERT(allow_macro_instructions_); 843 ASSERT(allow_macro_instructions_);
838 frintn(fd, fn); 844 frintn(fd, fn);
839 } 845 }
840 846
841 847
842 void MacroAssembler::Frintz(const FPRegister& fd, const FPRegister& fn) { 848 void MacroAssembler::Frintz(const FPRegister& fd, const FPRegister& fn) {
843 ASSERT(allow_macro_instructions_); 849 ASSERT(allow_macro_instructions_);
844 frintz(fd, fn); 850 frintz(fd, fn);
845 } 851 }
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 // characters are reserved for controlling features of the instrumentation. 1692 // characters are reserved for controlling features of the instrumentation.
1687 ASSERT(isprint(marker_name[0]) && isprint(marker_name[1])); 1693 ASSERT(isprint(marker_name[0]) && isprint(marker_name[1]));
1688 1694
1689 InstructionAccurateScope scope(this, 1); 1695 InstructionAccurateScope scope(this, 1);
1690 movn(xzr, (marker_name[1] << 8) | marker_name[0]); 1696 movn(xzr, (marker_name[1] << 8) | marker_name[0]);
1691 } 1697 }
1692 1698
1693 } } // namespace v8::internal 1699 } } // namespace v8::internal
1694 1700
1695 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ 1701 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.h ('k') | src/arm64/simulator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698