Developing debug test

This commit is contained in:
David Harris 2023-02-04 08:31:47 -08:00
parent b09002c71d
commit 43668a3fc5
3 changed files with 3 additions and 5 deletions

View File

@ -56,7 +56,6 @@ module unpackinput (
assign ExpMax = &In[`FLEN-2:`NF]; // is the exponent all 1's
end else if (`FPSIZES == 2) begin // if there are 2 floating point formats supported
//***need better names for these constants
// largest format | smaller format
//----------------------------------
// `FLEN | `LEN1 length of floating point number
@ -104,7 +103,6 @@ module unpackinput (
end else if (`FPSIZES == 3) begin // three floating point precsions supported
//***need better names for these constants
// largest format | larger format | smallest format
//---------------------------------------------------
// `FLEN | `LEN1 | `LEN2 length of floating point number

View File

@ -11,7 +11,7 @@ TARGET = debug
$(TARGET).objdump: $(TARGET).elf
riscv64-unknown-elf-objdump -D $(TARGET).elf > $(TARGET).objdump
$(TARGET): $(TARGET).S Makefile
$(TARGET).elf: $(TARGET).S Makefile
riscv64-unknown-elf-gcc -g -o $(TARGET).elf -march=rv64gc -mabi=lp64 -mcmodel=medany \
-nostartfiles -T../../link/link.ld $(TARGET).S

View File

@ -6,7 +6,7 @@
# openhwgroup/cvw Issue #55
li x1, 0x7ff0000000000001
fmv.w.x f4, x1
li x1, 7ff8000000000000
li x1, 0x7ff8000000000000
fmv.w.x f9, x1
fsgnjx.s f12,f9,f4 # expected f 0xffffffff7fc00000