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

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

Issue 2586001: Add test_b(Operand, immediate) to ia32 assembler, and use it where possible. ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/ia32/assembler-ia32.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 (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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 void subb(const Operand& dst, int8_t imm8); 630 void subb(const Operand& dst, int8_t imm8);
631 void subb(Register dst, const Operand& src); 631 void subb(Register dst, const Operand& src);
632 void sub(const Operand& dst, const Immediate& x); 632 void sub(const Operand& dst, const Immediate& x);
633 void sub(Register dst, const Operand& src); 633 void sub(Register dst, const Operand& src);
634 void sub(const Operand& dst, Register src); 634 void sub(const Operand& dst, Register src);
635 635
636 void test(Register reg, const Immediate& imm); 636 void test(Register reg, const Immediate& imm);
637 void test(Register reg, const Operand& op); 637 void test(Register reg, const Operand& op);
638 void test_b(Register reg, const Operand& op); 638 void test_b(Register reg, const Operand& op);
639 void test(const Operand& op, const Immediate& imm); 639 void test(const Operand& op, const Immediate& imm);
640 void test_b(const Operand& op, uint8_t imm8);
640 641
641 void xor_(Register dst, int32_t imm32); 642 void xor_(Register dst, int32_t imm32);
642 void xor_(Register dst, const Operand& src); 643 void xor_(Register dst, const Operand& src);
643 void xor_(const Operand& src, Register dst); 644 void xor_(const Operand& src, Register dst);
644 void xor_(const Operand& dst, const Immediate& x); 645 void xor_(const Operand& dst, const Immediate& x);
645 646
646 // Bit operations. 647 // Bit operations.
647 void bt(const Operand& dst, Register src); 648 void bt(const Operand& dst, Register src);
648 void bts(const Operand& dst, Register src); 649 void bts(const Operand& dst, Register src);
649 650
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 private: 933 private:
933 Assembler* assembler_; 934 Assembler* assembler_;
934 #ifdef DEBUG 935 #ifdef DEBUG
935 int space_before_; 936 int space_before_;
936 #endif 937 #endif
937 }; 938 };
938 939
939 } } // namespace v8::internal 940 } } // namespace v8::internal
940 941
941 #endif // V8_IA32_ASSEMBLER_IA32_H_ 942 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698