mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
make clean should clean generated asm as well
This commit is contained in:
parent
9fc3db1dd1
commit
68d800d4fa
4 changed files with 19 additions and 12 deletions
3
tools/simdstring/.gitignore
vendored
3
tools/simdstring/.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
|||
tags
|
||||
simdstring.test
|
||||
asm_*
|
||||
|
|
@ -1379,11 +1379,11 @@ func do_one(s *State) {
|
|||
s.Generate()
|
||||
|
||||
if s.ISA.HasSIMD {
|
||||
write_file(fmt.Sprintf("asm_%d_%s.s", s.ISA.Bits, s.ISA.Goarch), s.ASMOutput.String())
|
||||
write_file(fmt.Sprintf("asm_%d_%s_test.s", s.ISA.Bits, s.ISA.Goarch), s.TestASMOutput.String())
|
||||
write_file(fmt.Sprintf("asm_%d_%s_generated.s", s.ISA.Bits, s.ISA.Goarch), s.ASMOutput.String())
|
||||
write_file(fmt.Sprintf("asm_%d_%s_generated_test.s", s.ISA.Bits, s.ISA.Goarch), s.TestASMOutput.String())
|
||||
}
|
||||
write_file(fmt.Sprintf("asm_%d_%s.go", s.ISA.Bits, s.ISA.Goarch), s.StubOutput.String())
|
||||
write_file(fmt.Sprintf("asm_%d_%s_test.go", s.ISA.Bits, s.ISA.Goarch), s.TestStubOutput.String())
|
||||
write_file(fmt.Sprintf("asm_%d_%s_generated.go", s.ISA.Bits, s.ISA.Goarch), s.StubOutput.String())
|
||||
write_file(fmt.Sprintf("asm_%d_%s_generated_test.go", s.ISA.Bits, s.ISA.Goarch), s.TestStubOutput.String())
|
||||
}
|
||||
|
||||
func create_isa(arch Arch, bits int) ISA {
|
||||
|
|
@ -1430,8 +1430,8 @@ func main() {
|
|||
s.ISA.HasSIMD = false
|
||||
fmt.Fprintf(&s.StubOutput, "const HasSIMD%dCode = false\n", bits)
|
||||
s.Generate()
|
||||
write_file(fmt.Sprintf("asm_other_%d.go", bits), s.StubOutput.String())
|
||||
write_file(fmt.Sprintf("asm_other_%d_test.go", bits), s.TestStubOutput.String())
|
||||
write_file(fmt.Sprintf("asm_other_%d_generated.go", bits), s.StubOutput.String())
|
||||
write_file(fmt.Sprintf("asm_other_%d_generated_test.go", bits), s.TestStubOutput.String())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue