search for: isv2

Displaying 2 results from an estimated 2 matches for "isv2".

Did you mean: isp2
2016 Jul 08
2
Dynamic selection of assembly mnemonic strings
...dule remained the same, but in the TD file I had to introduce two 'def's for this (actually, I abstract a bit more and use a 'defm'): def LD32_v1 : Instr<... "LD32" ...>, Requires<[isV1]>; def LD32_v2 : Instr<... "LD.32" ...>, Requires<[isV2]>; This all works fine, but there is a large number of them which makes maintenance difficult. This also adds to the burden of selection when using 'BuildMI' in the C++ code, as I have to do things like: if (isV1()) BuildMI(..., TII->get(SHAVE::LD32_v1) else if (isV2())...
2016 Jul 08
2
Dynamic selection of assembly mnemonic strings
...‘LD.32’. The semantics and schedule remained the same, but in the TD file I had to introduce two ‘def’s for this (actually, I abstract a bit more and use a ‘defm’): def LD32_v1 : Instr<... “LD32” ...>, Requires<[isV1]>; def LD32_v2 : Instr<... “LD.32” ...>, Requires<[isV2]>; This all works fine, but there is a large number of them which makes maintenance difficult. This also adds to the burden of selection when using ‘BuildMI’ in the C++ code, as I have to do things like: if (isV1()) BuildMI(..., TII->get(SHAVE::LD32_v1) else if (isV2()) BuildM...