Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    求教,如何在D1-H板子上使用RVV指令集

    MR Series
    3
    6
    2668
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      noah.yi LV 3 last edited by

      使用交叉编译工具链编译RVV intrinsics 的可执行文件,push到D1-H板子上提示
      not found

      N aldfaaa 2 Replies Last reply Reply Quote Share 0
      • N
        noah.yi LV 3 @noah.yi last edited by

        @noah-yi 使用的是tina的riscv64-glibc-gcc-thead_20200702 工具链
        makefile 加了 CFLAGS +=-march=rv64imafdcv -mabi=lp64d -mtune=c906

        1 Reply Last reply Reply Quote Share 0
        • aldfaaa
          whycan矿工-小叶 LV 7 @noah.yi last edited by

          @noah-yi 晚点分享个xfel跑裸机hello world

          H 2 Replies Last reply Reply Quote Share 0
          • H
            ht1123 LV 4 @aldfaaa last edited by

            @aldfaaa 请问在D1-H上怎样使用rvv指令集呢?

            1 Reply Last reply Reply Quote Share 0
            • H
              ht1123 LV 4 @aldfaaa last edited by

              @aldfaaa 想请问一下怎么在D1-H板子上使用RVV指令集,有没有具体的例子?

              aldfaaa 1 Reply Last reply Reply Quote Share 0
              • aldfaaa
                whycan矿工-小叶 LV 7 @ht1123 last edited by

                @ht1123 抱歉, 久等了, 先上传个可以交叉编译的程序:
                d1-baremetal.7z
                😁 😁 😁
                用xfel将bin文件写到0x40000000即可执行. 至于汇编只需要熟练使用工具链参数即可.

                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策