Well, if you just want a new pc quick that you can use like 1-2 years and then do a proper higher end upgrade to new tech, going with i3 4170 is best choice.
What is your old pc, anyway?
R9 390x would be bottlenecked. R9 290x might be slightly bottlenecked.
It would be most efficient to go with R9 380 or GTX 960.
I would say take GTX 960 because you will be losing a lot performance when using AMD gpu with AMD cpu.
Especially one as old as Phenom.