|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta charset="utf-8" /> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 7 | + <link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png"> |
| 8 | + <link rel="icon" type="image/png" href="../assets/img/favicon.png"> |
| 9 | + <title> |
| 10 | + RISC-V Unified DB Status |
| 11 | + </title> |
| 12 | + |
| 13 | + <link href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel=" stylesheet" integrity=" sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin=" anonymous" > |
| 14 | + |
| 15 | +</head> |
| 16 | + |
| 17 | +<body class="container"> |
| 18 | + |
| 19 | + <h1><span class="font-monospace">riscv-unified-db</span> Status Dashboard <br/><small class="text-muted">Commit <a href="https://github.com/riscv-software-src/riscv-unified-db/tree/<%= `git rev-parse HEAD`.strip %>"><%= `git rev-parse --short HEAD`.strip %></a></small></h1> |
| 20 | + |
| 21 | + |
| 22 | + <div class="card"> |
| 23 | + <div class="card-body"> |
| 24 | + <h5 class="card-title">Instruction Status</h5> |
| 25 | + |
| 26 | + <h6 class="card-subtitle mb-2 text-muted">Of <strong><%= arch_def.instructions.size %></strong> known instructions</h6> |
| 27 | + |
| 28 | + <div class="card-body"> |
| 29 | + <%- idl_insts = arch_def.instructions.select { |i| !i.data["operation()"].nil? && !i.data["operation()"].empty? } -%> |
| 30 | + <%- idl_insts_pct = (idl_insts.size*100) / arch_def.instructions.size -%> |
| 31 | + <div class="progress-wrapper"> |
| 32 | + <div class="progress-info"> |
| 33 | + <div class="progress-percentage"> |
| 34 | + <span class="text-sm font-weight-bold">IDL implementation (<%= idl_insts.size %>, <%= idl_insts_pct %>%)</span> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <div class="progress"> |
| 38 | + <div class="progress-bar bg-primary" role="progressbar" aria-valuenow="<%= idl_insts.size %>" aria-valuemin="0" aria-valuemax="<%= arch_def.instructions.size %>" style="width: <%= idl_insts_pct %>%;"></div> |
| 39 | + </div> |
| 40 | + </div> |
| 41 | + |
| 42 | + <%- sail_insts = arch_def.instructions.select { |i| !i.data["sail()"].nil? && !i.data["sail()"].empty? } -%> |
| 43 | + <%- sail_insts_pct = (sail_insts.size*100) / arch_def.instructions.size -%> |
| 44 | + <div class="progress-wrapper"> |
| 45 | + <div class="progress-info"> |
| 46 | + <div class="progress-percentage"> |
| 47 | + <span class="text-sm font-weight-bold">Sail implementation (<%= sail_insts.size %>, <%= sail_insts_pct %>%)</span> |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + <div class="progress"> |
| 51 | + <div class="progress-bar bg-primary" role="progressbar" aria-valuenow="<%= sail_insts.size %>" aria-valuemin="0" aria-valuemax="<%= arch_def.instructions.size %>" style="width: <%= sail_insts_pct %>%;"></div> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + |
| 55 | + <%- desc_insts = arch_def.instructions.select { |i| i.data["description"].strip != "No description available." } -%> |
| 56 | + <%- desc_insts_pct = (desc_insts.size*100) / arch_def.instructions.size -%> |
| 57 | + <div class="progress-wrapper"> |
| 58 | + <div class="progress-info"> |
| 59 | + <div class="progress-percentage"> |
| 60 | + <span class="text-sm font-weight-bold">Descriptions (<%= desc_insts.size %>, <%= desc_insts_pct %>%)</span> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + <div class="progress"> |
| 64 | + <div class="progress-bar bg-primary" role="progressbar" aria-valuenow="<%= desc_insts.size %>" aria-valuemin="0" aria-valuemax="<%= arch_def.instructions.size %>" style="width: <%= desc_insts_pct %>%;"></div> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + |
| 68 | + <%- lname_insts = arch_def.instructions.select { |i| i.data["long_name"].strip != "No synopsis available." } -%> |
| 69 | + <%- lname_insts_pct = (lname_insts.size*100) / arch_def.instructions.size -%> |
| 70 | + <div class="progress-wrapper"> |
| 71 | + <div class="progress-info"> |
| 72 | + <div class="progress-percentage"> |
| 73 | + <span class="text-sm font-weight-bold">Long name (<%= lname_insts.size %>, <%= lname_insts_pct %>%)</span> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + <div class="progress"> |
| 77 | + <div class="progress-bar bg-primary" role="progressbar" aria-valuenow="<%= lname_insts.size %>" aria-valuemin="0" aria-valuemax="<%= arch_def.instructions.size %>" style="width: <%= lname_insts_pct %>%;"></div> |
| 78 | + </div> |
| 79 | + </div> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + |
| 84 | +</body> |
| 85 | + |
| 86 | +</html> |
0 commit comments