Skip to content

Commit

Permalink
Add semantics for prefetch instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreistefanescu committed Jan 10, 2024
1 parent 0686e5d commit b14d6e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x86/src/Data/Macaw/X86/Semantics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3252,6 +3252,12 @@ all_instructions =
, def_fsubrp
, defNullary "emms" $ addArchStmt EMMS
, defNullary "femms" $ addArchStmt EMMS
-- prefetch instructions
, defUnary "prefetcht0" $ \_ _val -> return ()
, defUnary "prefetcht1" $ \_ _val -> return ()
, defUnary "prefetcht2" $ \_ _val -> return ()
, defUnary "prefetchnta" $ \_ _val -> return ()
, defUnary "prefetchw" $ \_ _val -> return ()
]
++ def_cmov_list
++ def_jcc_list
Expand Down

0 comments on commit b14d6e6

Please sign in to comment.