search for: nhaawk

Displaying 1 result from an estimated 1 matches for "nhaawk".

Did you mean: hawk
2020 Apr 02
2
lli cannot execute the bc file for RISCV, Unable to find target for this triple
...nstall/riscv32-unknown-elf/include -S -emit-llvm main.c ``` //main.c ``` #include <stdio.h> int main(){ int a,b,c; a = 5; b = 2; asm volatile ( "norm %[z], %[x]\n\t" : [z] "=r" (c) : [x] "r" (a) ) ; if ( c != 28 ){ printf("\nHAAWKING TEST: FAILED\n"); return -1; } printf("\nHAAWKING TEST: PASSED\n"); return 0; } ``` Since I add some custom instructions to the RISC-V ISA and have not got a simulator, so I want to check out whether these instructions using lli. Can anyone figure out why this happens?...