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

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

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: [Atomics] Make Atomics.exchange a builtin using TF Created 3 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
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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 void andb(Register dst, Immediate src) { 785 void andb(Register dst, Immediate src) {
786 immediate_arithmetic_op_8(0x4, dst, src); 786 immediate_arithmetic_op_8(0x4, dst, src);
787 } 787 }
788 788
789 void decb(Register dst); 789 void decb(Register dst);
790 void decb(const Operand& dst); 790 void decb(const Operand& dst);
791 791
792 // Lock prefix. 792 // Lock prefix.
793 void lock(); 793 void lock();
794 794
795 void xchgb(Register reg, const Operand& op); 795 void xchgb(Register reg, const Operand& op, bool is_signed);
796 void xchgw(Register reg, const Operand& op); 796 void xchgw(Register reg, const Operand& op, bool is_signed);
797 797
798 void cmpxchgb(const Operand& dst, Register src); 798 void cmpxchgb(const Operand& dst, Register src);
799 void cmpxchgw(const Operand& dst, Register src); 799 void cmpxchgw(const Operand& dst, Register src);
800 800
801 // Sign-extends rax into rdx:rax. 801 // Sign-extends rax into rdx:rax.
802 void cqo(); 802 void cqo();
803 // Sign-extends eax into edx:eax. 803 // Sign-extends eax into edx:eax.
804 void cdq(); 804 void cdq();
805 805
806 // Multiply eax by src, put the result in edx:eax. 806 // Multiply eax by src, put the result in edx:eax.
(...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after
2528 Assembler* assembler_; 2528 Assembler* assembler_;
2529 #ifdef DEBUG 2529 #ifdef DEBUG
2530 int space_before_; 2530 int space_before_;
2531 #endif 2531 #endif
2532 }; 2532 };
2533 2533
2534 } // namespace internal 2534 } // namespace internal
2535 } // namespace v8 2535 } // namespace v8
2536 2536
2537 #endif // V8_X64_ASSEMBLER_X64_H_ 2537 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698