Skip to content

Commit

Permalink
x86avxgen/testdata/xedpath: replace "INTEL CONFIDENTIAL" files
Browse files Browse the repository at this point in the history
These files are not really confidential - they were released in
github.com/intelxed/xed with incorrect copyright notices.
The copyright notices were updated in
intelxed/xed@5c53804
but the files had also changed a bit by then.

Replace the two mislabeled files with the latest versions,
bringing in the updated Apache license as well as assorted other changes.
The tests still pass, so these changes must not matter too much.

Fixes golang/go#64315.

[git-generate]

cd x86/x86avxgen/testdata/xedpath

rm -rf _xed
git clone https://github.com/intelxed/xed _xed
cd _xed
git checkout d41e876  # "2019 copyright"
cd ..

echo '
e all-dec-instructions.txt
/^###FILE:.*avx512-foundation-isa.xed.txt/+1;/^###FILE/-3 d
/^###FILE:.*avx512-foundation-isa.xed.txt/+1r _xed/datafiles/avx512f/avx512-foundation-isa.xed.txt
/^###FILE:.*skx-isa.xed.txt/+1;/^###FILE/-3 d
/^###FILE:.*skx-isa.xed.txt/+1r _xed/datafiles/avx512-skx/skx-isa.xed.txt
,s/ +$//g
w
q
' | sam -d

Change-Id: I60fb4b9a420b8962fbbdd026cb6229d55144908d
Reviewed-on: https://go-review.googlesource.com/c/arch/+/547775
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>
  • Loading branch information
rsc committed Dec 6, 2023
1 parent a6bdeed commit a850570
Showing 1 changed file with 385 additions and 249 deletions.
Loading

0 comments on commit a850570

Please sign in to comment.