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

Unified Diff: src/ppc/constants-ppc.h

Issue 2242223002: PPC: Enable unaligned access and clean up the use of UNALIGNED_ACCESSES (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Replace emit call with X-Form for readability Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/constants-ppc.h
diff --git a/src/ppc/constants-ppc.h b/src/ppc/constants-ppc.h
index 4c404ae911f162f7c94c095884744e4bae702a2e..32b7b80c49e06be331e5377e34399fe99045fee2 100644
--- a/src/ppc/constants-ppc.h
+++ b/src/ppc/constants-ppc.h
@@ -146,7 +146,7 @@ enum Opcode {
LD = 58 << 26, // Load Double Word
EXT3 = 59 << 26, // Extended code set 3
STD = 62 << 26, // Store Double Word (optionally with Update)
- EXT4 = 63 << 26 // Extended code set 4
+ EXT4 = 63 << 26, // Extended code set 4
JaideepBajwa 2016/08/15 21:06:52 is that comma at the end a typo?
};
// Bits 10-1
@@ -241,6 +241,9 @@ enum OpcodeExt2 {
POPCNTD = 506 << 1, // Population Count Doubleword
// Below represent bits 10-1 (any value >= 512)
+ LHBRX = 790 << 1, // load half word reversed
+ LWBRX = 534 << 1, // load word reversed
+ LDBRX = 532 << 1, // load double word reversed
JaideepBajwa 2016/08/15 21:06:52 add the above in order? to keep it consistent.
LFSX = 535 << 1, // load float-single w/ x-form
SRWX = 536 << 1, // Shift Right Word
SRDX = 539 << 1, // Shift Right Double Word
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698