 Chromium Code Reviews
 Chromium Code Reviews 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
    
  
    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| 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 |