Skip to content

Commit

Permalink
fix vaadu args in json sequencing
Browse files Browse the repository at this point in the history
  • Loading branch information
orion160 committed Nov 10, 2024
1 parent ac7f1fa commit 10bd1a1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 23 deletions.
10 changes: 8 additions & 2 deletions arches/isa_json/gen_uarch_rv64v_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@

# Vector Fixed-Point Arithmetic Instructions: Vector Single-Width Averaging Add and Subtract
"vaaddu.vv" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
"vaaddu.vv" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
"vaaddu.vx" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
"vaadd.vv" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
"vaadd.vx" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
"vasubu.vv" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
Expand All @@ -230,7 +230,13 @@
"vssra.vx" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},
"vssra.vi" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 6},

# TODO: Vector Fixed-Point Arithmetic Instructions: Vector Narrowing Fixed-Point Clip Instructions
# Vector Fixed-Point Arithmetic Instructions: Vector Narrowing Fixed-Point Clip Instructions
"vnclipu.wv" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 2},
"vnclipu.wx" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 2},
"vnclipu.wi" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 2},
"vnclip.wv" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 2},
"vnclip.wx" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 2},
"vnclip.wi" : {"pipe" : "vfixed", "uop_gen" : "ARITH", "latency" : 2},

# TODO: Vector Floating-Point Instructions: Vector Floating-Point Exception Flags
# TODO: Vector Floating-Point Instructions: Vector Single-Width Floating-Point Add/Subtract Instructions
Expand Down
42 changes: 21 additions & 21 deletions arches/isa_json/olympia_uarch_rv64v.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
},
{
"mnemonic": "vaaddu.vx",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 6
},
{
"mnemonic": "vadc.vim",
Expand Down Expand Up @@ -1393,39 +1393,39 @@
},
{
"mnemonic": "vnclip.wi",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 2
},
{
"mnemonic": "vnclip.wv",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 2
},
{
"mnemonic": "vnclip.wx",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 2
},
{
"mnemonic": "vnclipu.wi",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 2
},
{
"mnemonic": "vnclipu.wv",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 2
},
{
"mnemonic": "vnclipu.wx",
"pipe": "?",
"uop_gen": "NONE",
"latency": 0
"pipe": "vfixed",
"uop_gen": "ARITH",
"latency": 2
},
{
"mnemonic": "vnmsac.vv",
Expand Down

0 comments on commit 10bd1a1

Please sign in to comment.