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

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

Issue 23536056: Thumb2 Backend: Enable Assembler to encode Thumb2 instructions Base URL: HEAD^
Patch Set: Created 7 years, 2 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/arm/assembler-thumb.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 BH7 = 1 << 23, 470 BH7 = 1 << 23,
471 BH8 = 1 << 24, 471 BH8 = 1 << 24,
472 BH9 = 1 << 25, 472 BH9 = 1 << 25,
473 BH10 = 1 << 26, 473 BH10 = 1 << 26,
474 BH11 = 1 << 27, 474 BH11 = 1 << 27,
475 BH12 = 1 << 28, 475 BH12 = 1 << 28,
476 BH13 = 1 << 29, 476 BH13 = 1 << 29,
477 BH14 = 1 << 30, 477 BH14 = 1 << 30,
478 BH15 = 1 << 31, 478 BH15 = 1 << 31,
479 479
480 MOVW_THUMB_IMM_MASK = (BH10 | 15*BH0 | 7*B12 | 15*B8 | 0xff),
481 MOVW_THUMB_MASK = BH15 | BH14 | BH13 | BH12 | BH9 | BH6,
482
480 // Instruction bit masks. 483 // Instruction bit masks.
481 kCondMask = 15 << 28, 484 kCondMask = 15 << 28,
482 kALUMask = 0x6f << 21, 485 kALUMask = 0x6f << 21,
483 kRdMask = 15 << 12, // In str instruction. 486 kRdMask = 15 << 12, // In str instruction.
484 kCoprocessorMask = 15 << 8, 487 kCoprocessorMask = 15 << 8,
485 kOpCodeMask = 15 << 21, // In data-processing instructions. 488 kOpCodeMask = 15 << 21, // In data-processing instructions.
486 kImm24Mask = (1 << 24) - 1, 489 kImm24Mask = (1 << 24) - 1,
487 kImm16Mask = (1 << 16) - 1, 490 kImm16Mask = (1 << 16) - 1,
488 kImm8Mask = (1 << 8) - 1, 491 kImm8Mask = (1 << 8) - 1,
489 kOff12Mask = (1 << 12) - 1, 492 kOff12Mask = (1 << 12) - 1,
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 static int Number(const char* name, bool* is_double); 1028 static int Number(const char* name, bool* is_double);
1026 1029
1027 private: 1030 private:
1028 static const char* names_[kNumVFPRegisters]; 1031 static const char* names_[kNumVFPRegisters];
1029 }; 1032 };
1030 1033
1031 1034
1032 } } // namespace v8::internal 1035 } } // namespace v8::internal
1033 1036
1034 #endif // V8_ARM_CONSTANTS_ARM_H_ 1037 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-thumb.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698