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

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

Issue 2629223005: [ARM] Add Neon shift instructions vshl, vshr. (Closed)
Patch Set: Fix DCHECK in ArithmeticShiftRight. Created 3 years, 11 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 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 COMPARE(vsub(Neon32, q15, q0, q8), 1056 COMPARE(vsub(Neon32, q15, q0, q8),
1057 "f360e860 vsub.i32 q15, q0, q8"); 1057 "f360e860 vsub.i32 q15, q0, q8");
1058 COMPARE(vmul(q0, q1, q2), 1058 COMPARE(vmul(q0, q1, q2),
1059 "f3020d54 vmul.f32 q0, q1, q2"); 1059 "f3020d54 vmul.f32 q0, q1, q2");
1060 COMPARE(vmul(Neon8, q0, q1, q2), 1060 COMPARE(vmul(Neon8, q0, q1, q2),
1061 "f2020954 vmul.i8 q0, q1, q2"); 1061 "f2020954 vmul.i8 q0, q1, q2");
1062 COMPARE(vmul(Neon16, q1, q2, q8), 1062 COMPARE(vmul(Neon16, q1, q2, q8),
1063 "f2142970 vmul.i16 q1, q2, q8"); 1063 "f2142970 vmul.i16 q1, q2, q8");
1064 COMPARE(vmul(Neon32, q15, q0, q8), 1064 COMPARE(vmul(Neon32, q15, q0, q8),
1065 "f260e970 vmul.i32 q15, q0, q8"); 1065 "f260e970 vmul.i32 q15, q0, q8");
1066 COMPARE(vshl(NeonS8, q15, q0, 6),
1067 "f2cee550 vshl.i8 q15, q0, #6");
1068 COMPARE(vshl(NeonU16, q15, q0, 10),
1069 "f2dae550 vshl.i16 q15, q0, #10");
1070 COMPARE(vshl(NeonS32, q15, q0, 17),
1071 "f2f1e550 vshl.i32 q15, q0, #17");
1072 COMPARE(vshr(NeonS8, q15, q0, 6),
1073 "f2cae050 vshr.s8 q15, q0, #6");
1074 COMPARE(vshr(NeonU16, q15, q0, 10),
1075 "f3d6e050 vshr.u16 q15, q0, #10");
1076 COMPARE(vshr(NeonS32, q15, q0, 17),
1077 "f2efe050 vshr.s32 q15, q0, #17");
1066 COMPARE(vrecpe(q15, q0), 1078 COMPARE(vrecpe(q15, q0),
1067 "f3fbe540 vrecpe.f32 q15, q0"); 1079 "f3fbe540 vrecpe.f32 q15, q0");
1068 COMPARE(vrecps(q15, q0, q8), 1080 COMPARE(vrecps(q15, q0, q8),
1069 "f240ef70 vrecps.f32 q15, q0, q8"); 1081 "f240ef70 vrecps.f32 q15, q0, q8");
1070 COMPARE(vrsqrte(q15, q0), 1082 COMPARE(vrsqrte(q15, q0),
1071 "f3fbe5c0 vrsqrte.f32 q15, q0"); 1083 "f3fbe5c0 vrsqrte.f32 q15, q0");
1072 COMPARE(vrsqrts(q15, q0, q8), 1084 COMPARE(vrsqrts(q15, q0, q8),
1073 "f260ef70 vrsqrts.f32 q15, q0, q8"); 1085 "f260ef70 vrsqrts.f32 q15, q0, q8");
1074 COMPARE(vtst(Neon8, q0, q1, q2), 1086 COMPARE(vtst(Neon8, q0, q1, q2),
1075 "f2020854 vtst.i8 q0, q1, q2"); 1087 "f2020854 vtst.i8 q0, q1, q2");
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 1422
1411 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]"); 1423 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]");
1412 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]"); 1424 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]");
1413 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]"); 1425 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]");
1414 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]"); 1426 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]");
1415 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]"); 1427 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]");
1416 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]"); 1428 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]");
1417 1429
1418 VERIFY_RUN(); 1430 VERIFY_RUN();
1419 } 1431 }
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