From e093c21ed880ac3eb72119be15093ee04f8ce299 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 5 Mar 2024 19:50:13 -0500 Subject: Move architecture modules into the API repo --- arch/x86/code_generator/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/x86/code_generator/README.md (limited to 'arch/x86/code_generator/README.md') diff --git a/arch/x86/code_generator/README.md b/arch/x86/code_generator/README.md new file mode 100644 index 00000000..5c53ad1f --- /dev/null +++ b/arch/x86/code_generator/README.md @@ -0,0 +1,11 @@ +This README explains the process of generating the input and output type information for x86 intrinsics. + +It takes two major steps: + +1. Tweak the xed build process and generate the information for each iform. + - Apply the `patch.diff` to `$XED_SOURCE/pysrc/generator.py` + - Build xed and harvest the `iform-type-dump.txt` + - Copy the `iform-type-dump.txt` to the current folder + +2. run the `parse-iform-types.py` + - It will generate `../x86_intrinsic_input_type.cpp` and `../x86_intrinsic_output_type.cpp`. \ No newline at end of file -- cgit v1.3.1