[go-nuts] Re: Performance: Restrictions on arguments in registers in SSA implementation

2025-01-09 Thread Andrey Bokhanko
+1 that spills (and moving structures from registers to stack is essentially spills) should be decided by a specialized pass (register allocator), not during SSA build. Relying on a heuristic to do "pre-spilling" is, IMHO, a design flaw. @Arseny Samoylov, I wonder if you tried to disable this r

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-12-03 Thread Andrey Bokhanko
понедельник, 2 декабря 2024 г. в 13:25:22 UTC+3, Karolina GORNA: *switch-go/main.go*-- package main import "fmt" func main() { x := 10 switch x { case 1: fmt.Println("One") case 5: fmt.Println("Five") case 10:

Re: [go-nuts] Generics in gollvm

2022-12-13 Thread Andrey Bokhanko
Hi Ian, Thanks for the update! Do you have any idea on when generics support in gofrontend might be finished? (To clarify, I don't want to "push" you at all; understandably, you have a lot on your plate and have to juggle different priorities. My only point is to have at least some understand