Skip to content

Commit

Permalink
ppc64: comment out insns that can't be tested with risu
Browse files Browse the repository at this point in the history
ADDPCIS uses the program counter, which depends on where the image was
loaded. DARN is non-deterministic by definition, we can't compare the
results between executions.
  • Loading branch information
mferst committed Oct 31, 2022
1 parent 7fa5d1f commit dc83367
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ppc64.risu
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ ADDMEdo PPC64LE 011111 rt:5 ra:5 0000010111010101 \
!constraints { $rt != 1 && $ra != 1 && $rt != 13 && $ra != 13; }

# format:DX book:I page:69 v3.0 addpcis Add PC Immediate Shifted
ADDPCIS PPC64LE 010011 rt:5 db:5 da:10 00010 dc:1 \
!constraints { $rt != 1 && $rt != 13; }
#ADDPCIS PPC64LE 010011 rt:5 db:5 da:10 00010 dc:1 \
#!constraints { $rt != 1 && $rt != 13; }

# format:XO book:I page:73 v:P1 SR addze Add to Zero Extended
ADDZE PPC64LE 011111 rt:5 ra:5 0000000110010100 \
Expand Down Expand Up @@ -278,8 +278,8 @@ DADDQd PPC64LE 111111 frtp:5 frap:5 frbp:5 00000000101 \
!constraints { $frtp % 2 == 0 && $frap % 2 == 0 && $frbp % 2 == 0; }

# format:X book:I page:79 v3.0 darn Deliver A Random Number
DARN PPC64LE 011111 rt:5 000 l:2 0000010111100110 \
!constraints { $rt != 1 && $rt != 13 && $l != 3; }
#DARN PPC64LE 011111 rt:5 000 l:2 0000010111100110 \
#!constraints { $rt != 1 && $rt != 13 && $l != 3; }

# format:X book:I page:217 v2.06 dcffix DFP Convert From Fixed
DCFFIX PPC64LE 111011 frt:5 00000 frb:5 11001000100
Expand Down

0 comments on commit dc83367

Please sign in to comment.