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

Side by Side Diff: test/cctest/test-disasm-arm.cc

Issue 2739033002: [ARM] Implement more NEON permutation instructions. (Closed)
Patch Set: Martyn's review comments. Created 3 years, 9 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 | « test/cctest/test-assembler-arm.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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 COMPARE(vcgt(NeonS32, q15, q0, q8), 1133 COMPARE(vcgt(NeonS32, q15, q0, q8),
1134 "f260e360 vcgt.s32 q15, q0, q8"); 1134 "f260e360 vcgt.s32 q15, q0, q8");
1135 COMPARE(vbsl(q0, q1, q2), 1135 COMPARE(vbsl(q0, q1, q2),
1136 "f3120154 vbsl q0, q1, q2"); 1136 "f3120154 vbsl q0, q1, q2");
1137 COMPARE(vbsl(q15, q0, q8), 1137 COMPARE(vbsl(q15, q0, q8),
1138 "f350e170 vbsl q15, q0, q8"); 1138 "f350e170 vbsl q15, q0, q8");
1139 COMPARE(vext(q15, q0, q8, 3), 1139 COMPARE(vext(q15, q0, q8, 3),
1140 "f2f0e360 vext.8 q15, q0, q8, #3"); 1140 "f2f0e360 vext.8 q15, q0, q8, #3");
1141 COMPARE(vzip(Neon16, q15, q0), 1141 COMPARE(vzip(Neon16, q15, q0),
1142 "f3f6e1c0 vzip.16 q15, q0"); 1142 "f3f6e1c0 vzip.16 q15, q0");
1143 COMPARE(vuzp(Neon16, q15, q0),
1144 "f3f6e140 vuzp.16 q15, q0");
1143 COMPARE(vrev64(Neon8, q15, q0), 1145 COMPARE(vrev64(Neon8, q15, q0),
1144 "f3f0e040 vrev64.8 q15, q0"); 1146 "f3f0e040 vrev64.8 q15, q0");
1147 COMPARE(vtrn(Neon16, q15, q0),
1148 "f3f6e0c0 vtrn.16 q15, q0");
1145 COMPARE(vtbl(d0, NeonListOperand(d1, 1), d2), 1149 COMPARE(vtbl(d0, NeonListOperand(d1, 1), d2),
1146 "f3b10802 vtbl.8 d0, {d1}, d2"); 1150 "f3b10802 vtbl.8 d0, {d1}, d2");
1147 COMPARE(vtbl(d31, NeonListOperand(d0, 2), d4), 1151 COMPARE(vtbl(d31, NeonListOperand(d0, 2), d4),
1148 "f3f0f904 vtbl.8 d31, {d0, d1}, d4"); 1152 "f3f0f904 vtbl.8 d31, {d0, d1}, d4");
1149 COMPARE(vtbl(d15, NeonListOperand(d1, 3), d5), 1153 COMPARE(vtbl(d15, NeonListOperand(d1, 3), d5),
1150 "f3b1fa05 vtbl.8 d15, {d1, d2, d3}, d5"); 1154 "f3b1fa05 vtbl.8 d15, {d1, d2, d3}, d5");
1151 COMPARE(vtbl(d15, NeonListOperand(d1, 4), d5), 1155 COMPARE(vtbl(d15, NeonListOperand(d1, 4), d5),
1152 "f3b1fb05 vtbl.8 d15, {d1, d2, d3, d4}, d5"); 1156 "f3b1fb05 vtbl.8 d15, {d1, d2, d3, d4}, d5");
1153 COMPARE(vtbx(d0, NeonListOperand(d1, 1), d2), 1157 COMPARE(vtbx(d0, NeonListOperand(d1, 1), d2),
1154 "f3b10842 vtbx.8 d0, {d1}, d2"); 1158 "f3b10842 vtbx.8 d0, {d1}, d2");
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 1445
1442 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]"); 1446 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]");
1443 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]"); 1447 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]");
1444 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]"); 1448 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]");
1445 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]"); 1449 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]");
1446 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]"); 1450 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]");
1447 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]"); 1451 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]");
1448 1452
1449 VERIFY_RUN(); 1453 VERIFY_RUN();
1450 } 1454 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698