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

Side by Side Diff: src/x64/assembler-x64.h

Issue 545108: X64 implementation of native ascii string compare. (Closed)
Patch Set: Created 10 years, 11 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
« no previous file with comments | « no previous file | src/x64/codegen-x64.h » ('j') | src/x64/codegen-x64.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 } 909 }
910 910
911 void subq(const Operand& dst, Immediate src) { 911 void subq(const Operand& dst, Immediate src) {
912 immediate_arithmetic_op(0x5, dst, src); 912 immediate_arithmetic_op(0x5, dst, src);
913 } 913 }
914 914
915 void subl(Register dst, Register src) { 915 void subl(Register dst, Register src) {
916 arithmetic_op_32(0x2B, dst, src); 916 arithmetic_op_32(0x2B, dst, src);
917 } 917 }
918 918
919 void subl(Register dst, const Operand& src) {
920 arithmetic_op_32(0x2B, dst, src);
921 }
922
919 void subl(const Operand& dst, Immediate src) { 923 void subl(const Operand& dst, Immediate src) {
920 immediate_arithmetic_op_32(0x5, dst, src); 924 immediate_arithmetic_op_32(0x5, dst, src);
921 } 925 }
922 926
923 void subl(Register dst, Immediate src) { 927 void subl(Register dst, Immediate src) {
924 immediate_arithmetic_op_32(0x5, dst, src); 928 immediate_arithmetic_op_32(0x5, dst, src);
925 } 929 }
926 930
927 void subb(Register dst, Immediate src) { 931 void subb(Register dst, Immediate src) {
928 immediate_arithmetic_op_8(0x5, dst, src); 932 immediate_arithmetic_op_8(0x5, dst, src);
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 private: 1394 private:
1391 Assembler* assembler_; 1395 Assembler* assembler_;
1392 #ifdef DEBUG 1396 #ifdef DEBUG
1393 int space_before_; 1397 int space_before_;
1394 #endif 1398 #endif
1395 }; 1399 };
1396 1400
1397 } } // namespace v8::internal 1401 } } // namespace v8::internal
1398 1402
1399 #endif // V8_X64_ASSEMBLER_X64_H_ 1403 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.h » ('j') | src/x64/codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698