| OLD | NEW |
| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 COMPARE(addc(r9, r7, r9), "7d274814 addc r9, r7, r9"); | 100 COMPARE(addc(r9, r7, r9), "7d274814 addc r9, r7, r9"); |
| 101 COMPARE(addic(r3, r5, Operand(20)), "30650014 addic r3, r5, 20"); | 101 COMPARE(addic(r3, r5, Operand(20)), "30650014 addic r3, r5, 20"); |
| 102 COMPARE(addi(r0, ip, Operand(63)), "380c003f addi r0, r12, 63"); | 102 COMPARE(addi(r0, ip, Operand(63)), "380c003f addi r0, r12, 63"); |
| 103 COMPARE(add(r5, r7, r0), "7ca70214 add r5, r7, r0"); | 103 COMPARE(add(r5, r7, r0), "7ca70214 add r5, r7, r0"); |
| 104 COMPARE(addze(r0, r0, LeaveOE, SetRC), "7c000195 addze. r0, r0"); | 104 COMPARE(addze(r0, r0, LeaveOE, SetRC), "7c000195 addze. r0, r0"); |
| 105 COMPARE(andi(r0, r3, Operand(4)), "70600004 andi. r0, r3, 4"); | 105 COMPARE(andi(r0, r3, Operand(4)), "70600004 andi. r0, r3, 4"); |
| 106 COMPARE(and_(r3, r6, r5), "7cc32838 and r3, r6, r5"); | 106 COMPARE(and_(r3, r6, r5), "7cc32838 and r3, r6, r5"); |
| 107 COMPARE(and_(r6, r0, r6, SetRC), "7c063039 and. r6, r0, r6"); | 107 COMPARE(and_(r6, r0, r6, SetRC), "7c063039 and. r6, r0, r6"); |
| 108 // skipping branches (for now?) | 108 // skipping branches (for now?) |
| 109 COMPARE(bctr(), "4e800420 bctr"); | 109 COMPARE(bctr(), "4e800420 bctr"); |
| 110 COMPARE(bctrl(), "4e800421 bctrl"); |
| 110 COMPARE(blr(), "4e800020 blr"); | 111 COMPARE(blr(), "4e800020 blr"); |
| 111 COMPARE(bclr(BA, SetLK), "4e800021 blrl"); | |
| 112 // skipping call - only used in simulator | 112 // skipping call - only used in simulator |
| 113 #if V8_TARGET_ARCH_PPC64 | 113 #if V8_TARGET_ARCH_PPC64 |
| 114 COMPARE(cmpi(r0, Operand(5)), "2fa00005 cmpi r0, 5"); | 114 COMPARE(cmpi(r0, Operand(5)), "2fa00005 cmpi r0, 5"); |
| 115 #else | 115 #else |
| 116 COMPARE(cmpi(r0, Operand(5)), "2f800005 cmpi r0, 5"); | 116 COMPARE(cmpi(r0, Operand(5)), "2f800005 cmpi r0, 5"); |
| 117 #endif | 117 #endif |
| 118 #if V8_TARGET_ARCH_PPC64 | 118 #if V8_TARGET_ARCH_PPC64 |
| 119 COMPARE(cmpl(r6, r7), "7fa63840 cmpl r6, r7"); | 119 COMPARE(cmpl(r6, r7), "7fa63840 cmpl r6, r7"); |
| 120 #else | 120 #else |
| 121 COMPARE(cmpl(r6, r7), "7f863840 cmpl r6, r7"); | 121 COMPARE(cmpl(r6, r7), "7f863840 cmpl r6, r7"); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 145 COMPARE(stb(r5, MemOperand(r11, 11)), "98ab000b stb r5, 11(r11)"); | 145 COMPARE(stb(r5, MemOperand(r11, 11)), "98ab000b stb r5, 11(r11)"); |
| 146 COMPARE(stfd(d2, MemOperand(sp, 8)), "d8410008 stfd d2, 8(sp)"); | 146 COMPARE(stfd(d2, MemOperand(sp, 8)), "d8410008 stfd d2, 8(sp)"); |
| 147 COMPARE(stw(r16, MemOperand(sp, 64)), "92010040 stw r16, 64(sp)"); | 147 COMPARE(stw(r16, MemOperand(sp, 64)), "92010040 stw r16, 64(sp)"); |
| 148 COMPARE(stwu(r3, MemOperand(sp, -4)), "9461fffc stwu r3, -4(sp)"); | 148 COMPARE(stwu(r3, MemOperand(sp, -4)), "9461fffc stwu r3, -4(sp)"); |
| 149 COMPARE(sub(r3, r3, r4), "7c641850 subf r3, r4, r3"); | 149 COMPARE(sub(r3, r3, r4), "7c641850 subf r3, r4, r3"); |
| 150 COMPARE(sub(r0, r9, r8, LeaveOE, SetRC), "7c084851 subf. r0, r8, r9"); | 150 COMPARE(sub(r0, r9, r8, LeaveOE, SetRC), "7c084851 subf. r0, r8, r9"); |
| 151 COMPARE(xor_(r6, r5, r4), "7ca62278 xor r6, r5, r4"); | 151 COMPARE(xor_(r6, r5, r4), "7ca62278 xor r6, r5, r4"); |
| 152 | 152 |
| 153 VERIFY_RUN(); | 153 VERIFY_RUN(); |
| 154 } | 154 } |
| OLD | NEW |