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

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

Issue 7080052: ARM: Add PostIndex support to Ldrd/Strd macro fallback code.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/arm/macro-assembler-arm.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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 offset_ = offset; 444 offset_ = offset;
445 } 445 }
446 446
447 uint32_t offset() const { 447 uint32_t offset() const {
448 ASSERT(rm_.is(no_reg)); 448 ASSERT(rm_.is(no_reg));
449 return offset_; 449 return offset_;
450 } 450 }
451 451
452 Register rn() const { return rn_; } 452 Register rn() const { return rn_; }
453 Register rm() const { return rm_; } 453 Register rm() const { return rm_; }
454 AddrMode am() const { return am_; }
454 455
455 bool OffsetIsUint12Encodable() const { 456 bool OffsetIsUint12Encodable() const {
456 return offset_ >= 0 ? is_uint12(offset_) : is_uint12(-offset_); 457 return offset_ >= 0 ? is_uint12(offset_) : is_uint12(-offset_);
457 } 458 }
458 459
459 private: 460 private:
460 Register rn_; // base 461 Register rn_; // base
461 Register rm_; // register offset 462 Register rm_; // register offset
462 int32_t offset_; // valid if rm_ == no_reg 463 int32_t offset_; // valid if rm_ == no_reg
463 ShiftOp shift_op_; 464 ShiftOp shift_op_;
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 public: 1393 public:
1393 explicit EnsureSpace(Assembler* assembler) { 1394 explicit EnsureSpace(Assembler* assembler) {
1394 assembler->CheckBuffer(); 1395 assembler->CheckBuffer();
1395 } 1396 }
1396 }; 1397 };
1397 1398
1398 1399
1399 } } // namespace v8::internal 1400 } } // namespace v8::internal
1400 1401
1401 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1402 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698