Commit Graph

141 Commits

Author SHA1 Message Date
Intel A80486DX2-66 b3a635076b
fwrite_le.c: optimize for FWRITE_LE_NO_MODIFICATION case 2023-12-31 15:38:28 +03:00
Intel A80486DX2-66 ff5608e0d0
C: add fwrite_le.*, correct include var. in template 2023-12-31 15:19:42 +03:00
Intel A80486DX2-66 aa5f7359c2
bytebeat_compiler.py: don't use "path_to_*"
Formatting: Replace all whitespaces to tabulation characters
2023-12-30 15:44:50 +03:00
Intel A80486DX2-66 0f20974908
bytebeat_compiler.py: add `./` before compilation paths 2023-12-30 15:40:37 +03:00
Intel A80486DX2-66 f9ce5faa60
bytebeat_compiler.py: show executed command 2023-12-30 15:32:41 +03:00
Intel A80486DX2-66 e0ac4c3bf9
bytebeat_compiler.py: add flag `-Wno-dangling-else` 2023-12-30 15:32:07 +03:00
Intel A80486DX2-66 df91110d80
template.c: add support for big-endian machines 2023-12-30 15:31:11 +03:00
Intel A80486DX2-66 8c758e1224
bytebeat_compiler.py: fix name: `CC_FLAGS` -> `CFLAGS` 2023-12-30 14:57:32 +03:00
Intel A80486DX2-66 9a344bd50c
template.c: correct endianness of `buffer_size` 2023-12-30 14:15:42 +03:00
Intel A80486DX2-66 793983a2b8
template.c: simplify conditional compilation 2023-12-29 19:06:17 +03:00
Intel A80486DX2-66 f3f3d49bfa
template.c: reformat (omit curly brackets) 2023-12-25 00:22:12 +03:00
Intel A80486DX2-66 da9b92c30b
README.md: add "yet" 2023-12-24 20:06:55 +03:00
Intel A80486DX2-66 e0a9e7f7ef
bytebeat_compiler.py: use name `CFLAGS` instead of `CC_FLAGS` 2023-12-24 20:05:48 +03:00
Intel A80486DX2-66 43b065c0fa
bytebeat_compiler.py: append to env. arguments 2023-12-24 19:20:47 +03:00
Intel A80486DX2-66 53bc4c504c
b/c...py: add compiler flags to ignore unused vars 2023-12-05 18:37:50 +03:00
Intel A80486DX2-66 ca019b8fe8
b/c...py: substitute multiple variables at once 2023-12-03 15:55:08 +03:00
Intel A80486DX2-66 8df2334bc4
CLI: extend description for argument `file` 2023-12-03 15:44:59 +03:00
Intel A80486DX2-66 da3b0e8e40
add CLI argument `-l` / `--samples`, adjust logic
bytebeat_compiler.py: add argument `-l` / `--samples` and additional logic

src/template.c:
1. Transform parameter `SECONDS` into `LENGTH`; change `PRODUCT` formula
   respectively
2. Show count of samples in non-silent mode
2023-12-03 15:43:40 +03:00
Intel A80486DX2-66 842d93c1a5
bytebeat_compiler.py: simplify grammar in CLI help
Simplify grammar in the help text for the `--verbose` option
2023-11-25 21:06:25 +03:00
Intel A80486DX2-66 5eb82bc133
template.c: add verbose mode and update usage
src/template.c: Add verbose mode
EXAMPLE_USAGE.md: Update example usage
2023-11-25 21:03:31 +03:00
Intel A80486DX2-66 976b7468cc
template.c: improve silent mode
src/template.c:
1. Improve silent mode (the program doesn't output anything to STDOUT in
   silent mode now)
2. Use conditional compilation for silent mode
2023-11-25 20:50:28 +03:00
Intel A80486DX2-66 3acc0be646
template.c: port all CLI arguments into the script
src/template.c:
1. Port all command line arguments into script `bytebeat_generator.py`
2. Remove the submodule lib/c-argh
2023-11-25 20:34:16 +03:00
Intel A80486DX2-66 64cfda4a33
template.c: remove "debug mode" 2023-11-25 20:14:05 +03:00
Intel A80486DX2-66 24dc6a338e
code substitution: fix formatting 2023-11-25 17:28:22 +03:00
Intel A80486DX2-66 73710ae208
bytebeat_compiler.py: change flag `-Os` to `-Ofast` 2023-11-25 17:12:18 +03:00
Intel A80486DX2-66 476160c347
update submodule lib/c-argh 2023-11-25 16:20:35 +03:00
Intel A80486DX2-66 96dfcac873
template.c: recalculate file size 2023-11-22 18:33:17 +03:00
Intel A80486DX2-66 e657f21f37
template.c: make `byte_rate` a 32-bit variable 2023-11-21 19:17:50 +03:00
Intel A80486DX2-66 3517473605
make use of C-Argh library (#5) 2023-11-21 19:06:12 +03:00
Intel A80486DX2-66 27a3ac1fe3
bytebeat_compiler.py: change `-Werror` to `-Wextra` 2023-11-21 18:57:02 +03:00
Intel A80486DX2-66 7a2073c2ef
template.c: more manual formatting 2023-11-18 23:38:20 +03:00
Intel A80486DX2-66 adad4dcb24
template.c: refactor code and change initial type of `w` 2023-11-18 20:05:55 +03:00
Intel A80486DX2-66 de7e641abb
template.c: remove function `random` 2023-11-18 20:03:13 +03:00
Intel A80486DX2-66 8bc7c712b7
template.c: reformat and add more comments 2023-11-18 19:57:57 +03:00
Intel A80486DX2-66 5e4fee2a87
README.md: change the project name 2023-11-18 15:35:56 +03:00
Intel A80486DX2-66 3e564d79ee
rename `substitute_value` to `substitute_var` 2023-11-18 15:19:07 +03:00
Intel A80486DX2-66 aa25d770bc
EXAMPLE_USAGE.txt -> .md: actualize and fix 2023-11-18 14:24:23 +03:00
Intel A80486DX2-66 1183fdb696
implement final simple rate conversion during generation (#3) 2023-11-18 14:15:48 +03:00
Intel A80486DX2-66 8d33c88e35
add library `c-argh` as a submodule 2023-11-17 00:26:47 +03:00
Intel A80486DX2-66 b68a426b92
major refactor 2023-11-16 23:34:35 +03:00
Intel A80486DX2-66 ae04b22c7a
initial commit 2023-11-16 22:01:41 +03:00