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

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

Issue 2818026: X64: A bunch of small fixes. (Closed)
Patch Set: Addressed review comments. As discussed, also fix call/jmp. Created 10 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 unified diff | Download patch
« no previous file with comments | « src/x64/disasm-x64.cc ('k') | src/x64/macro-assembler-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 539
540 // Check if the object in register heap_object is a string. Afterwards the 540 // Check if the object in register heap_object is a string. Afterwards the
541 // register map contains the object map and the register instance_type 541 // register map contains the object map and the register instance_type
542 // contains the instance_type. The registers map and instance_type can be the 542 // contains the instance_type. The registers map and instance_type can be the
543 // same in which case it contains the instance type afterwards. Either of the 543 // same in which case it contains the instance type afterwards. Either of the
544 // registers map and instance_type can be the same as heap_object. 544 // registers map and instance_type can be the same as heap_object.
545 Condition IsObjectStringType(Register heap_object, 545 Condition IsObjectStringType(Register heap_object,
546 Register map, 546 Register map,
547 Register instance_type); 547 Register instance_type);
548 548
549 // FCmp is similar to integer cmp, but requires unsigned 549 // FCmp compares and pops the two values on top of the FPU stack.
550 // The flag results are similar to integer cmp, but requires unsigned
550 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). 551 // jcc instructions (je, ja, jae, jb, jbe, je, and jz).
551 void FCmp(); 552 void FCmp();
552 553
553 // Abort execution if argument is not a number. Used in debug code. 554 // Abort execution if argument is not a number. Used in debug code.
554 void AbortIfNotNumber(Register object); 555 void AbortIfNotNumber(Register object);
555 556
556 // Abort execution if argument is not a smi. Used in debug code. 557 // Abort execution if argument is not a smi. Used in debug code.
557 void AbortIfNotSmi(Register object); 558 void AbortIfNotSmi(Register object);
558 559
559 // Abort execution if argument is not the root value with the given index. 560 // Abort execution if argument is not the root value with the given index.
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 } \ 896 } \
896 masm-> 897 masm->
897 #else 898 #else
898 #define ACCESS_MASM(masm) masm-> 899 #define ACCESS_MASM(masm) masm->
899 #endif 900 #endif
900 901
901 902
902 } } // namespace v8::internal 903 } } // namespace v8::internal
903 904
904 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 905 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/disasm-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698