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

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

Issue 2804883008: [WASM SIMD] Implement horizontal add for float and integer types. (Closed)
Patch Set: Rebase, reformat. Created 3 years, 8 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') | test/cctest/wasm/test-run-wasm-simd.cc » ('j') | 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 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 COMPARE(vmin(q15, q0, q8), 1037 COMPARE(vmin(q15, q0, q8),
1038 "f260ef60 vmin.f32 q15, q0, q8"); 1038 "f260ef60 vmin.f32 q15, q0, q8");
1039 COMPARE(vmax(q15, q0, q8), 1039 COMPARE(vmax(q15, q0, q8),
1040 "f240ef60 vmax.f32 q15, q0, q8"); 1040 "f240ef60 vmax.f32 q15, q0, q8");
1041 COMPARE(vmax(NeonS8, q0, q1, q2), 1041 COMPARE(vmax(NeonS8, q0, q1, q2),
1042 "f2020644 vmax.s8 q0, q1, q2"); 1042 "f2020644 vmax.s8 q0, q1, q2");
1043 COMPARE(vmin(NeonU16, q1, q2, q8), 1043 COMPARE(vmin(NeonU16, q1, q2, q8),
1044 "f3142670 vmin.u16 q1, q2, q8"); 1044 "f3142670 vmin.u16 q1, q2, q8");
1045 COMPARE(vmax(NeonS32, q15, q0, q8), 1045 COMPARE(vmax(NeonS32, q15, q0, q8),
1046 "f260e660 vmax.s32 q15, q0, q8"); 1046 "f260e660 vmax.s32 q15, q0, q8");
1047 COMPARE(vpadd(d0, d1, d2),
1048 "f3010d02 vpadd.f32 d0, d1, d2");
1049 COMPARE(vpadd(Neon8, d0, d1, d2),
1050 "f2010b12 vpadd.i8 d0, d1, d2");
1051 COMPARE(vpadd(Neon16, d0, d1, d2),
1052 "f2110b12 vpadd.i16 d0, d1, d2");
1053 COMPARE(vpadd(Neon32, d0, d1, d2),
1054 "f2210b12 vpadd.i32 d0, d1, d2");
1047 COMPARE(vpmax(NeonS8, d0, d1, d2), 1055 COMPARE(vpmax(NeonS8, d0, d1, d2),
1048 "f2010a02 vpmax.s8 d0, d1, d2"); 1056 "f2010a02 vpmax.s8 d0, d1, d2");
1049 COMPARE(vpmin(NeonU16, d1, d2, d8), 1057 COMPARE(vpmin(NeonU16, d1, d2, d8),
1050 "f3121a18 vpmin.u16 d1, d2, d8"); 1058 "f3121a18 vpmin.u16 d1, d2, d8");
1051 COMPARE(vpmax(NeonS32, d15, d0, d8), 1059 COMPARE(vpmax(NeonS32, d15, d0, d8),
1052 "f220fa08 vpmax.s32 d15, d0, d8"); 1060 "f220fa08 vpmax.s32 d15, d0, d8");
1053 COMPARE(vadd(q15, q0, q8), 1061 COMPARE(vadd(q15, q0, q8),
1054 "f240ed60 vadd.f32 q15, q0, q8"); 1062 "f240ed60 vadd.f32 q15, q0, q8");
1055 COMPARE(vadd(Neon8, q0, q1, q2), 1063 COMPARE(vadd(Neon8, q0, q1, q2),
1056 "f2020844 vadd.i8 q0, q1, q2"); 1064 "f2020844 vadd.i8 q0, q1, q2");
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 1463
1456 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]"); 1464 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]");
1457 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]"); 1465 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]");
1458 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]"); 1466 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]");
1459 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]"); 1467 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]");
1460 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]"); 1468 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]");
1461 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]"); 1469 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]");
1462 1470
1463 VERIFY_RUN(); 1471 VERIFY_RUN();
1464 } 1472 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/cctest/wasm/test-run-wasm-simd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698