mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 23:26:59 +00:00
The two tests obtain NIA with bl+mflr+addi and then compare it against addpcis with the minimum and maximum immediate operand values. They were also tested on a real POWER9 system (in userspace) for good measure. Signed-off-by: Shawn Anastasio <shawn@anastas.io>
15 lines
299 B
Bash
Executable File
15 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Script to update console related tests from source
|
|
#
|
|
|
|
for i in sc illegal decrementer xics privileged mmu misc ; do
|
|
cd $i
|
|
make
|
|
cd -
|
|
cp $i/$i.bin test_$i.bin
|
|
ln -s test_$i.bin main_ram.bin
|
|
../core_tb > /dev/null 2> test_$i.console_out
|
|
rm main_ram.bin
|
|
done
|