Skip to content

Commit e07bc3e

Browse files
committed
Revert selected files to their state before cc372a9
1 parent 1caa48b commit e07bc3e

31 files changed

Lines changed: 9728 additions & 100 deletions

‎.clang-format2‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Language: Cpp
2+
BasedOnStyle: LLVM
3+
IndentWidth: 2
4+
TabWidth: 2
5+
ColumnLimit: 0
6+
UseTab: Never
7+
BreakBeforeBraces: Attach
8+
AlwaysBreakTemplateDeclarations: true

‎chat.rapidgpt‎

Lines changed: 845 additions & 0 deletions
Large diffs are not rendered by default.

‎dodo.sh‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Show the commit to be sure
2+
git show --name-only cc372a94cd9cd61155c3560acdfe1deb0cfe1cd1
3+
4+
# Restore the chosen files from the *parent* of X (i.e., before X)
5+
git restore --source=cc372a94cd9cd61155c3560acdfe1deb0cfe1cd1^ -- \
6+
sim/simx/core.cpp sim/simx/decode.cpp sim/simx/emulator.cpp sim/simx/emulator.h \
7+
sim/simx/execute.cpp sim/simx/func_unit.cpp sim/simx/types.h
8+
# (on older Git: use `git checkout <hash>^ -- <paths>`)
9+
10+
# Commit and push
11+
git add -A
12+
git commit -m "Revert selected files to their state before cc372a94"
13+
git push

‎kernel/include/vx_intrinsics.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ inline __attribute__((const)) size_t vx_shfl_idx(size_t value, int bval, int cva
281281
return ret;
282282
}
283283

284+
// Warp-level scheduling hint
285+
#define vx_wsched(__prio__, __yield__) \
286+
__asm__ (".insn r %0, 6, 0, x0, x%[p], x%[y]" :: "i"(RISCV_CUSTOM0), [p]"i"(__prio__), [y]"i"(__yield__) : "memory")
287+
284288
#ifdef __cplusplus
285289
}
286290
#endif

0 commit comments

Comments
 (0)