Skip to content

Commit

Permalink
bugfixes in options pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
HJLebbink committed Jan 13, 2018
1 parent 4a471a5 commit c23d93f
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 67 deletions.
68 changes: 68 additions & 0 deletions VS/CSHARP/asm-dude-vsix/OptionsPage/AsmDudeOptionsPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,37 @@ protected override void OnDeactivate(CancelEventArgs e)
changed = true;
}

if (Settings.Default.ARCH_AVX512_VBMI2 != this._asmDudeOptionsPageUI.UseArch_AVX512_VBMI2)
{
sb.AppendLine("UseArch_AVX512_VBMI2=" + this._asmDudeOptionsPageUI.UseArch_AVX512_VBMI2);
changed = true;
}
if (Settings.Default.ARCH_AVX512_VNNI != this._asmDudeOptionsPageUI.UseArch_AVX512_VNNI)
{
sb.AppendLine("UseArch_AVX512_VNNI=" + this._asmDudeOptionsPageUI.UseArch_AVX512_VNNI);
changed = true;
}
if (Settings.Default.ARCH_AVX512_BITALG != this._asmDudeOptionsPageUI.UseArch_AVX512_BITALG)
{
sb.AppendLine("UseArch_AVX512_BITALG=" + this._asmDudeOptionsPageUI.UseArch_AVX512_BITALG);
changed = true;
}
if (Settings.Default.ARCH_AVX512_GFNI != this._asmDudeOptionsPageUI.UseArch_AVX512_GFNI)
{
sb.AppendLine("UseArch_AVX512_GFNI=" + this._asmDudeOptionsPageUI.UseArch_AVX512_GFNI);
changed = true;
}
if (Settings.Default.ARCH_AVX512_VAES != this._asmDudeOptionsPageUI.UseArch_AVX512_VAES)
{
sb.AppendLine("UseArch_AVX512_VAES=" + this._asmDudeOptionsPageUI.UseArch_AVX512_VAES);
changed = true;
}
if (Settings.Default.ARCH_AVX512_VPCLMULQDQ != this._asmDudeOptionsPageUI.UseArch_AVX512_VPCLMULQDQ)
{
sb.AppendLine("UseArch_AVX512_VPCLMULQDQ=" + this._asmDudeOptionsPageUI.UseArch_AVX512_VPCLMULQDQ);
changed = true;
}

if (Settings.Default.ARCH_X64 != this._asmDudeOptionsPageUI.UseArch_X64)
{
sb.AppendLine("UseArch_X64=" + this._asmDudeOptionsPageUI.UseArch_X64);
Expand Down Expand Up @@ -1635,6 +1666,43 @@ private void Save()
archChanged = true;
}

if (Settings.Default.ARCH_AVX512_VBMI2 != this._asmDudeOptionsPageUI.UseArch_AVX512_VBMI2)
{
Settings.Default.ARCH_AVX512_VBMI2 = this._asmDudeOptionsPageUI.UseArch_AVX512_VBMI2;
changed = true;
archChanged = true;
}
if (Settings.Default.ARCH_AVX512_VNNI != this._asmDudeOptionsPageUI.UseArch_AVX512_VNNI)
{
Settings.Default.ARCH_AVX512_VNNI = this._asmDudeOptionsPageUI.UseArch_AVX512_VNNI;
changed = true;
archChanged = true;
}
if (Settings.Default.ARCH_AVX512_BITALG != this._asmDudeOptionsPageUI.UseArch_AVX512_BITALG)
{
Settings.Default.ARCH_AVX512_BITALG = this._asmDudeOptionsPageUI.UseArch_AVX512_BITALG;
changed = true;
archChanged = true;
}
if (Settings.Default.ARCH_AVX512_GFNI != this._asmDudeOptionsPageUI.UseArch_AVX512_GFNI)
{
Settings.Default.ARCH_AVX512_GFNI = this._asmDudeOptionsPageUI.UseArch_AVX512_GFNI;
changed = true;
archChanged = true;
}
if (Settings.Default.ARCH_AVX512_VAES != this._asmDudeOptionsPageUI.UseArch_AVX512_VAES)
{
Settings.Default.ARCH_AVX512_VAES = this._asmDudeOptionsPageUI.UseArch_AVX512_VAES;
changed = true;
archChanged = true;
}
if (Settings.Default.ARCH_AVX512_VPCLMULQDQ != this._asmDudeOptionsPageUI.UseArch_AVX512_VPCLMULQDQ)
{
Settings.Default.ARCH_AVX512_VPCLMULQDQ = this._asmDudeOptionsPageUI.UseArch_AVX512_VPCLMULQDQ;
changed = true;
archChanged = true;
}

if (Settings.Default.ARCH_X64 != this._asmDudeOptionsPageUI.UseArch_X64)
{
Settings.Default.ARCH_X64 = this._asmDudeOptionsPageUI.UseArch_X64;
Expand Down
Loading

0 comments on commit c23d93f

Please sign in to comment.