[Bug tree-optimization/17687] sincos can be folded at the tree level

2006-08-10 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #9 from paolo dot bonzini at lu dot unisi dot ch 2006-08-10 08:04 --- Subject: Re: sincos can be folded at the tree level > If this PR was only about x87 using fsincos for sincos this is fixed now. Well, it was mostly about getting rid of TREE_ADDRESSABLE, which you can

[Bug tree-optimization/17687] sincos can be folded at the tree level

2006-08-10 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-08-10 07:41 --- I implemented the expander to allow the x87 backend using fsincos for it. The problems (TREE_ADDRESSABLE, no real folding, no CSE with previous sin/cos) still exist. I had/have (I don't remember if I submitted them

[Bug tree-optimization/17687] sincos can be folded at the tree level

2006-08-09 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2006-08-10 06:28 --- Was this implemented? There is an expand_builtin_sincos, but I think it cannot remove TREE_ADDRESSABLE on the arguments, making most of the performance advantages go away... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?