add comment string
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 30 Oct 2018 06:23:27 +0000 (06:23 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 30 Oct 2018 06:23:27 +0000 (06:23 +0000)
isa/rv64ui/sv_addw_elwidth.S

index 2a6c40834186681c2b7b7d758ea361103e28ab8f..f616794f581f11e267e5062f77c1b7ecb8eba4d8 100644 (file)
@@ -62,6 +62,9 @@ RVTEST_CODE_BEGIN   # Start of test code.
                 0xa5a5006bffabff8b,  0xa5a5a5a5a5a5a5a5,  0xa5a5a5a5a5a5a5a5 )
         SV_ELWIDTH_TEST(  3, 1, 1, 1, 1, 1, 1,
                 0xa5a5a5a5a56bab8b,  0xa5a5a5a5a5a5a5a5,  0xa5a5a5a5a5a5a5a5 )
+
+        # these test a scalar destination, for sign-extension on different
+        # widths of source/dest.
         SV_ELWIDTH_TEST(  3, 0, 0, 0, 1, 1, 0,
                 0xffffffff8b6bab8b,  0xa5a5a5a5a5a5a5a5,  0xa5a5a5a5a5a5a5a5 )
         SV_ELWIDTH_TEST(  3, 3, 3, 3, 1, 1, 0,